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.001728/0.001728, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001971/0.001971, allocations: 198.4 kB / 16.14 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00253/0.00253, allocations: 290.6 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.148/1.148, allocations: 178.6 MB / 0.5068 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002731/0.002731, allocations: 108.8 kB / 0.6057 GB, free: 25.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1737, allocations: 89.15 MB / 0.6928 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002789/0.1765, allocations: 1.543 MB / 0.6943 GB, free: 3.293 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003182/0.1769, allocations: 112.5 kB / 0.6944 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.521e-05/0.1769, allocations: 4.719 kB / 0.6944 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.438e-05/0.177, allocations: 3.984 kB / 0.6944 GB, free: 3.172 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.035e-05/0.177, allocations: 7.938 kB / 0.6944 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.1772, allocations: 15.98 kB / 0.6944 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.584e-05/0.1773, allocations: 43.8 kB / 0.6945 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.199e-05/0.1774, allocations: 15.97 kB / 0.6945 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.139e-05/0.1774, allocations: 11.98 kB / 0.6945 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.285e-05/0.1775, allocations: 23.86 kB / 0.6945 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.1775, allocations: 0 / 0.6945 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.9e-05/0.1776, allocations: 19.98 kB / 0.6945 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.503e-05/0.1776, allocations: 15.98 kB / 0.6946 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.1776, allocations: 15.88 kB / 0.6946 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.1778, allocations: 59.78 kB / 0.6946 GB, free: 2.945 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.1778, allocations: 4 kB / 0.6946 GB, free: 2.941 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1778, allocations: 0 / 0.6946 GB, free: 2.941 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.1778, allocations: 0 / 0.6946 GB, free: 2.941 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.0005606/0.1784, allocations: 371.5 kB / 0.695 GB, free: 2.527 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.1784, allocations: 8.031 kB / 0.695 GB, free: 2.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.1784, allocations: 16.83 kB / 0.695 GB, free: 2.504 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.1786, allocations: 174.9 kB / 0.6952 GB, free: 2.297 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1786, allocations: 4.375 kB / 0.6952 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-06/0.1786, allocations: 384 / 0.6952 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.1789, allocations: 82.14 kB / 0.6953 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1789, allocations: 192 / 0.6953 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.1789, allocations: 7.922 kB / 0.6953 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.1789, allocations: 0 / 0.6953 GB, free: 2.199 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003253/0.1793, allocations: 75.92 kB / 0.6953 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004031/0.1797, allocations: 284.8 kB / 0.6956 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.1799, allocations: 78.41 kB / 0.6957 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.1801, allocations: 48.84 kB / 0.6957 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002404/0.1804, allocations: 109.1 kB / 0.6958 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.1804, allocations: 34.56 kB / 0.6959 GB, free: 1.492 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1804, allocations: 0 / 0.6959 GB, free: 1.492 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000569/0.181, allocations: 141.6 kB / 0.696 GB, free: 1.348 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.181, allocations: 51.41 kB / 0.6961 GB, free: 1.285 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.1811, allocations: 129.8 kB / 0.6962 GB, free: 1.148 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.1812, allocations: 29.7 kB / 0.6962 GB, free: 1.113 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.752e-05/0.1812, allocations: 96.05 kB / 0.6963 GB, free: 1.016 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.814e-05/0.1813, allocations: 7.891 kB / 0.6963 GB, free: 1.008 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.1813, allocations: 17.72 kB / 0.6963 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1815, allocations: 314.8 kB / 0.6966 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.1816, allocations: 35.95 kB / 0.6967 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.1818, allocations: 47.89 kB / 0.6967 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000284/0.1821, allocations: 76.78 kB / 0.6968 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.1821, allocations: 3.938 kB / 0.6968 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003483/0.1824, allocations: 113.5 kB / 0.6969 GB, free: 396 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1824, allocations: 8 kB / 0.6969 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1825, allocations: 0 / 0.6969 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1825, allocations: 0 / 0.6969 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.1826, allocations: 19.91 kB / 0.6969 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1826, allocations: 0 / 0.6969 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.816e-05/0.1827, allocations: 11.98 kB / 0.6969 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.1827, allocations: 0 / 0.6969 GB, free: 356 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.755e-05/0.1828, allocations: 121.8 kB / 0.697 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.1829, allocations: 4 kB / 0.697 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003809/0.1832, allocations: 117.5 kB / 0.6972 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1833, allocations: 0 / 0.6972 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1833, allocations: 0 / 0.6972 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1833, allocations: 4 kB / 0.6972 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.1835, allocations: 189.5 kB / 0.6973 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1835, allocations: 0 / 0.6973 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.1836, allocations: 23.92 kB / 0.6974 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1836, allocations: 384 / 0.6974 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.1836, allocations: 0 / 0.6974 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/0.1837, allocations: 7.984 kB / 0.6974 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1837, allocations: 3.938 kB / 0.6974 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.1841, allocations: 211.4 kB / 0.6976 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.1841, allocations: 85 kB / 0.6977 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.1841, allocations: 0 / 0.6977 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.1843, allocations: 11.98 kB / 0.6977 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.1843, allocations: 4 kB / 0.6977 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1843, allocations: 0 / 0.6977 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.229e-05/0.1844, allocations: 110.2 kB / 0.6978 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1844, allocations: 0 / 0.6978 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000294/0.1847, allocations: 15.94 kB / 0.6978 GB, free: 15.36 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000146/0.1848, allocations: 103.2 kB / 0.6979 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003407/0.1852, allocations: 75.92 kB / 0.698 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.1852, allocations: 8 kB / 0.698 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.1854, allocations: 39.95 kB / 0.698 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.1856, allocations: 9.188 kB / 0.698 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.1859, allocations: 159.5 kB / 0.6982 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.1863, allocations: 0.6964 MB / 0.6989 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.206e-05/0.1863, allocations: 0 / 0.6989 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.1863, allocations: 19.36 kB / 0.6989 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.144e-06/0.1863, allocations: 0 / 0.6989 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.003008/0.1894, allocations: 0.6634 MB / 0.6995 GB, free: 13.54 MB / 0.4981 GB 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)