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.006427/0.006427, allocations: 100.7 kB / 15.73 MB, free: 6.496 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.001611/0.001611, allocations: 196.6 kB / 16.68 MB, free: 6.375 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002024/0.002024, allocations: 286.1 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9588/0.9588, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 99.83 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1766, allocations: 86.97 MB / 0.7664 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002165/0.1788, allocations: 1.493 MB / 0.7678 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002622/0.1791, allocations: 96.58 kB / 0.7679 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.045e-05/0.1791, allocations: 0 / 0.7679 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.176e-05/0.1792, allocations: 7.938 kB / 0.7679 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.077e-05/0.1792, allocations: 11.91 kB / 0.768 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.1794, allocations: 23.92 kB / 0.768 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.549e-05/0.1795, allocations: 43.91 kB / 0.768 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.619e-05/0.1796, allocations: 8 kB / 0.768 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.173e-05/0.1796, allocations: 15.92 kB / 0.768 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.549e-05/0.1797, allocations: 27.91 kB / 0.7681 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.1797, allocations: 4 kB / 0.7681 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.804e-05/0.1798, allocations: 19.98 kB / 0.7681 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.216e-05/0.1798, allocations: 19.84 kB / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.1799, allocations: 15.88 kB / 0.7681 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.18, allocations: 67.73 kB / 0.7682 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.18, allocations: 0 / 0.7682 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.52e-07/0.18, allocations: 4 kB / 0.7682 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.18, allocations: 0 / 0.7682 GB, free: 6.562 MB / 0.5606 GB 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.0004666/0.1805, allocations: 375.2 kB / 0.7686 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.1805, allocations: 12.03 kB / 0.7686 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.1805, allocations: 4.938 kB / 0.7686 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.1807, allocations: 182.3 kB / 0.7687 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.1807, allocations: 4.375 kB / 0.7687 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.1807, allocations: 384 / 0.7687 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.1809, allocations: 74.22 kB / 0.7688 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.483e-06/0.181, allocations: 192 / 0.7688 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.181, allocations: 7.938 kB / 0.7688 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.181, allocations: 3.938 kB / 0.7688 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002871/0.1813, allocations: 79.86 kB / 0.7689 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/0.1816, allocations: 284.9 kB / 0.7692 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.1818, allocations: 66.47 kB / 0.7692 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.182, allocations: 48.91 kB / 0.7693 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/0.1822, allocations: 109.1 kB / 0.7694 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.1822, allocations: 46.42 kB / 0.7694 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1822, allocations: 0 / 0.7694 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005337/0.1827, allocations: 145.5 kB / 0.7696 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.1828, allocations: 51.41 kB / 0.7696 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.421e-05/0.1829, allocations: 129.8 kB / 0.7697 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.1829, allocations: 25.7 kB / 0.7698 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.1829, allocations: 88.14 kB / 0.7699 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.183, allocations: 7.906 kB / 0.7699 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.183, allocations: 17.72 kB / 0.7699 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.989e-05/0.1831, allocations: 322.8 kB / 0.7702 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.1832, allocations: 35.95 kB / 0.7702 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.1834, allocations: 35.91 kB / 0.7703 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.1837, allocations: 84.78 kB / 0.7703 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.1837, allocations: 3.938 kB / 0.7703 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00032/0.184, allocations: 109.5 kB / 0.7704 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.184, allocations: 4 kB / 0.7704 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.184, allocations: 0 / 0.7704 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.184, allocations: 8 kB / 0.7705 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.1842, allocations: 11.98 kB / 0.7705 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.1842, allocations: 0 / 0.7705 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.339e-05/0.1843, allocations: 15.97 kB / 0.7705 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.1843, allocations: 4 kB / 0.7705 GB, free: 3.969 MB / 0.5606 GB 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.054e-05/0.1844, allocations: 118.4 kB / 0.7706 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.1844, allocations: 7.906 kB / 0.7706 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003801/0.1848, allocations: 129.5 kB / 0.7707 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1848, allocations: 0 / 0.7707 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1848, allocations: 0 / 0.7707 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1848, allocations: 0 / 0.7707 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.185, allocations: 181.6 kB / 0.7709 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.185, allocations: 0 / 0.7709 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.531e-05/0.1851, allocations: 15.98 kB / 0.7709 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1851, allocations: 4 kB / 0.7709 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1851, allocations: 0 / 0.7709 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1852, allocations: 0 / 0.7709 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1852, allocations: 0 / 0.7709 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.1855, allocations: 215.2 kB / 0.7711 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.1856, allocations: 88.98 kB / 0.7712 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.1856, allocations: 7.938 kB / 0.7712 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.1857, allocations: 12.41 kB / 0.7712 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.1858, allocations: 3.984 kB / 0.7712 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.1858, allocations: 4 kB / 0.7712 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.78e-05/0.1858, allocations: 102.5 kB / 0.7713 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1858, allocations: 0 / 0.7713 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002249/0.1861, allocations: 12 kB / 0.7714 GB, free: 2.984 MB / 0.5606 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.0001399/0.1862, allocations: 107.2 kB / 0.7715 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003594/0.1866, allocations: 83.84 kB / 0.7715 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1866, allocations: 0 / 0.7715 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.1868, allocations: 43.95 kB / 0.7716 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.187, allocations: 11.94 kB / 0.7716 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.1874, allocations: 153.5 kB / 0.7717 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.1876, allocations: 0.6885 MB / 0.7724 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.792e-05/0.1877, allocations: 0 / 0.7724 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.1877, allocations: 7.438 kB / 0.7724 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.1877, allocations: 4 kB / 0.7724 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of Templates: time 0.002727/0.1904, allocations: 0.8057 MB / 0.7732 GB, free: 1.035 MB / 0.5606 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)