Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic") translateModel(BuildingSystems.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007489/0.000749, allocations: 91.53 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008184/0.0008184, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00168/0.00168, allocations: 274.5 kB / 291.4 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9362/0.9362, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004887/0.0004889, allocations: 16.28 kB / 0.598 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1761, allocations: 88.54 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.001949/0.1782, allocations: 1.198 MB / 0.6856 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002961/0.1785, allocations: 101.3 kB / 0.6857 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.295e-05/0.1785, allocations: 0.875 kB / 0.6857 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.294e-05/0.1786, allocations: 0 / 0.6857 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.502e-05/0.1786, allocations: 9.125 kB / 0.6858 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.1788, allocations: 15.92 kB / 0.6858 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.052e-05/0.1789, allocations: 44.39 kB / 0.6858 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1791, allocations: 5.406 kB / 0.6858 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.051e-05/0.1791, allocations: 19.92 kB / 0.6858 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.609e-05/0.1792, allocations: 19.86 kB / 0.6859 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.1792, allocations: 5.312 kB / 0.6859 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.105e-05/0.1793, allocations: 19.97 kB / 0.6859 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.093e-05/0.1793, allocations: 7.938 kB / 0.6859 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.91e-05/0.1794, allocations: 35.42 kB / 0.6859 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.1795, allocations: 44.14 kB / 0.686 GB, free: 13.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.1795, allocations: 0 / 0.686 GB, free: 13.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1795, allocations: 0 / 0.686 GB, free: 13.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1795, allocations: 0 / 0.686 GB, free: 13.93 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005778/0.1801, allocations: 381.8 kB / 0.6863 GB, free: 13.51 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1802, allocations: 8.531 kB / 0.6863 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.1802, allocations: 4 kB / 0.6863 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.1804, allocations: 179.4 kB / 0.6865 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1804, allocations: 0.9688 kB / 0.6865 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.1804, allocations: 4 kB / 0.6865 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.1807, allocations: 88.03 kB / 0.6866 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1807, allocations: 2.031 kB / 0.6866 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1807, allocations: 0 / 0.6866 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1807, allocations: 0 / 0.6866 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.181, allocations: 94.86 kB / 0.6867 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.1814, allocations: 287.4 kB / 0.687 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.1816, allocations: 80.69 kB / 0.687 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.1818, allocations: 58.95 kB / 0.6871 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002279/0.182, allocations: 105.1 kB / 0.6872 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.182, allocations: 38.56 kB / 0.6872 GB, free: 12.46 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.1821, allocations: 4 kB / 0.6872 GB, free: 12.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005245/0.1826, allocations: 177.5 kB / 0.6874 GB, free: 12.28 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.1826, allocations: 59.3 kB / 0.6875 GB, free: 12.21 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.1828, allocations: 133.2 kB / 0.6876 GB, free: 12.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.1828, allocations: 25.7 kB / 0.6876 GB, free: 12.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.456e-05/0.1828, allocations: 92.12 kB / 0.6877 GB, free: 11.95 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.1829, allocations: 11.81 kB / 0.6877 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.1829, allocations: 0 / 0.6877 GB, free: 11.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.183, allocations: 322.8 kB / 0.688 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.1831, allocations: 47.91 kB / 0.6881 GB, free: 11.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.1833, allocations: 51.95 kB / 0.6881 GB, free: 11.51 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.1834, allocations: 43.97 kB / 0.6882 GB, free: 11.47 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1834, allocations: 0 / 0.6882 GB, free: 11.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002932/0.1837, allocations: 137.5 kB / 0.6883 GB, free: 11.33 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.1838, allocations: 4 kB / 0.6883 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1838, allocations: 0 / 0.6883 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1838, allocations: 8 kB / 0.6883 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.1839, allocations: 15.98 kB / 0.6883 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.1839, allocations: 7.891 kB / 0.6883 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.132e-05/0.184, allocations: 19.97 kB / 0.6883 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.184, allocations: 4 kB / 0.6883 GB, free: 11.27 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.656e-05/0.1841, allocations: 118.5 kB / 0.6885 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.1842, allocations: 3.906 kB / 0.6885 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003582/0.1845, allocations: 141.5 kB / 0.6886 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1845, allocations: 0 / 0.6886 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1846, allocations: 0 / 0.6886 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1846, allocations: 7.953 kB / 0.6886 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.1848, allocations: 173.6 kB / 0.6888 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1848, allocations: 0 / 0.6888 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.943e-05/0.1849, allocations: 27.98 kB / 0.6888 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1849, allocations: 0 / 0.6888 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.1849, allocations: 0 / 0.6888 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.1849, allocations: 7.938 kB / 0.6888 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1849, allocations: 0 / 0.6888 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.1853, allocations: 231.3 kB / 0.689 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.1853, allocations: 84.95 kB / 0.6891 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.1853, allocations: 4 kB / 0.6891 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.389e-05/0.1854, allocations: 15.98 kB / 0.6891 GB, free: 10.37 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.1855, allocations: 8.406 kB / 0.6891 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.1855, allocations: 0 / 0.6891 GB, free: 10.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.666e-05/0.1856, allocations: 99.27 kB / 0.6892 GB, free: 10.26 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1856, allocations: 0 / 0.6892 GB, free: 10.26 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002186/0.1858, allocations: 12 kB / 0.6892 GB, free: 10.25 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001493/0.1859, allocations: 107.2 kB / 0.6893 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003102/0.1863, allocations: 111.8 kB / 0.6894 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1863, allocations: 0 / 0.6894 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.1864, allocations: 51.95 kB / 0.6895 GB, free: 9.977 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.1867, allocations: 11.95 kB / 0.6895 GB, free: 9.965 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.187, allocations: 152.9 kB / 0.6897 GB, free: 9.793 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.1873, allocations: 0.6887 MB / 0.6903 GB, free: 9.078 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.982e-05/0.1873, allocations: 0 / 0.6903 GB, free: 9.078 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.1873, allocations: 19.38 kB / 0.6903 GB, free: 9.059 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1873, allocations: 0 / 0.6903 GB, free: 9.059 MB / 494.1 MB Notification: Performance of Templates: time 0.002887/0.1902, allocations: 0.6457 MB / 0.691 GB, free: 8.418 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1)