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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004926/0.004926, allocations: 102.7 kB / 15.73 MB, free: 6.492 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.001154/0.001154, allocations: 190.4 kB / 16.67 MB, free: 6.379 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.248/1.248, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002086, allocations: 282.2 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8903/0.8903, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 96.53 kB / 0.681 GB, free: 20 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1687, allocations: 86.98 MB / 0.7659 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002984/0.1718, allocations: 1.488 MB / 0.7674 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003166/0.1721, allocations: 96.58 kB / 0.7675 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.626e-05/0.1721, allocations: 3.938 kB / 0.7675 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.536e-05/0.1722, allocations: 0 / 0.7675 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.819e-05/0.1723, allocations: 15.86 kB / 0.7675 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.1725, allocations: 19.97 kB / 0.7675 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.788e-05/0.1726, allocations: 39.86 kB / 0.7675 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.1727, allocations: 20.27 kB / 0.7675 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.927e-05/0.1728, allocations: 15.92 kB / 0.7676 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.492e-05/0.1728, allocations: 19.92 kB / 0.7676 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.1729, allocations: 4 kB / 0.7676 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.465e-05/0.1729, allocations: 19.92 kB / 0.7676 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.237e-05/0.173, allocations: 15.97 kB / 0.7676 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.173, allocations: 23.86 kB / 0.7676 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.1732, allocations: 59.75 kB / 0.7677 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1732, allocations: 0 / 0.7677 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1732, allocations: 0 / 0.7677 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.1732, allocations: 0 / 0.7677 GB, free: 7.113 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.0005405/0.1738, allocations: 383.2 kB / 0.7681 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1738, allocations: 12.03 kB / 0.7681 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.1738, allocations: 30.75 kB / 0.7681 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.1739, allocations: 8.875 kB / 0.7681 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.174, allocations: 180.1 kB / 0.7683 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.174, allocations: 4.312 kB / 0.7683 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.237e-06/0.174, allocations: 384 / 0.7683 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.1743, allocations: 82.2 kB / 0.7684 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1743, allocations: 3.938 kB / 0.7684 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1744, allocations: 4 kB / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1744, allocations: 0 / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002685/0.1746, allocations: 71.92 kB / 0.7684 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.175, allocations: 288.9 kB / 0.7687 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.1752, allocations: 70.47 kB / 0.7688 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.1754, allocations: 40.86 kB / 0.7688 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002614/0.1756, allocations: 113.1 kB / 0.7689 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.1757, allocations: 34.56 kB / 0.769 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.512e-06/0.1757, allocations: 0 / 0.769 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005179/0.1762, allocations: 145.7 kB / 0.7691 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.1763, allocations: 55.34 kB / 0.7692 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.879e-05/0.1764, allocations: 133 kB / 0.7693 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.1764, allocations: 25.7 kB / 0.7693 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.759e-05/0.1765, allocations: 92.12 kB / 0.7694 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.1765, allocations: 7.906 kB / 0.7694 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.1765, allocations: 13.72 kB / 0.7694 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1766, allocations: 326.8 kB / 0.7697 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.1768, allocations: 35.97 kB / 0.7698 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.1769, allocations: 39.94 kB / 0.7698 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.1772, allocations: 88.72 kB / 0.7699 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1772, allocations: 0 / 0.7699 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002849/0.1775, allocations: 113.5 kB / 0.77 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1775, allocations: 8 kB / 0.77 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1775, allocations: 0 / 0.77 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1775, allocations: 0 / 0.77 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.1776, allocations: 11.98 kB / 0.77 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1776, allocations: 8 kB / 0.77 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.944e-05/0.1777, allocations: 7.984 kB / 0.77 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1777, allocations: 0 / 0.77 GB, free: 4.473 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 7.93e-05/0.1778, allocations: 122.4 kB / 0.7701 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.1778, allocations: 7.906 kB / 0.7702 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003346/0.1782, allocations: 121.5 kB / 0.7703 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1782, allocations: 0 / 0.7703 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1782, allocations: 0 / 0.7703 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.1782, allocations: 7.938 kB / 0.7703 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.1784, allocations: 181.5 kB / 0.7705 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1784, allocations: 3.938 kB / 0.7705 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.061e-05/0.1785, allocations: 19.97 kB / 0.7705 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1785, allocations: 0 / 0.7705 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.1785, allocations: 0 / 0.7705 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1785, allocations: 0 / 0.7705 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1785, allocations: 7.938 kB / 0.7705 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.1789, allocations: 211.3 kB / 0.7707 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.261e-05/0.1789, allocations: 77.11 kB / 0.7708 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.1789, allocations: 4 kB / 0.7708 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.894e-05/0.179, allocations: 15.98 kB / 0.7708 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.1791, allocations: 7.984 kB / 0.7708 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.1791, allocations: 0 / 0.7708 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.171e-05/0.1792, allocations: 99.27 kB / 0.7709 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.174e-06/0.1792, allocations: 0 / 0.7709 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00023/0.1794, allocations: 11.94 kB / 0.7709 GB, free: 3.488 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.0006319/0.18, allocations: 0.7475 MB / 0.7716 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003076/0.1804, allocations: 84.19 kB / 0.7717 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1804, allocations: 4 kB / 0.7717 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.1805, allocations: 39.91 kB / 0.7717 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.1808, allocations: 12.17 kB / 0.7718 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000448/0.1812, allocations: 179.2 kB / 0.7719 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.1815, allocations: 0.6884 MB / 0.7726 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.711e-05/0.1815, allocations: 11.98 kB / 0.7726 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.1816, allocations: 19.42 kB / 0.7726 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of SimCode: time 2e-07/0.1816, allocations: 0 / 0.7726 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3213/0.5029, allocations: 1.911 MB / 0.7745 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.042/7.545, allocations: 8.859 kB / 0.7745 GB, free: 14.65 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1)