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.005705/0.005705, allocations: 99.02 kB / 15.73 MB, free: 6.047 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.001643/0.001643, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002378/0.002378, allocations: 282 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.9676/0.9676, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002803/0.002803, allocations: 103.8 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1586, allocations: 86.98 MB / 0.7659 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.002571/0.1612, allocations: 1.475 MB / 0.7674 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002883/0.1615, allocations: 104.6 kB / 0.7675 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.017e-05/0.1616, allocations: 0 / 0.7675 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.291e-05/0.1616, allocations: 11.92 kB / 0.7675 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.743e-05/0.1617, allocations: 11.88 kB / 0.7675 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.1619, allocations: 19.97 kB / 0.7675 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.133e-05/0.162, allocations: 43.86 kB / 0.7675 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.381e-05/0.1621, allocations: 15.97 kB / 0.7676 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.447e-05/0.1621, allocations: 19.92 kB / 0.7676 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.889e-05/0.1622, allocations: 23.86 kB / 0.7676 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.1622, allocations: 7.938 kB / 0.7676 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.019e-05/0.1623, allocations: 19.98 kB / 0.7676 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.606e-05/0.1623, allocations: 11.98 kB / 0.7676 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.1623, allocations: 19.88 kB / 0.7677 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.1625, allocations: 60 kB / 0.7677 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1625, allocations: 0 / 0.7677 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1625, allocations: 0 / 0.7677 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.1625, allocations: 0 / 0.7677 GB, free: 7.074 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.0005295/0.163, allocations: 383.2 kB / 0.7681 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1631, allocations: 8.031 kB / 0.7681 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.81e-05/0.1631, allocations: 38.73 kB / 0.7681 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.1632, allocations: 12.89 kB / 0.7681 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.1633, allocations: 172.3 kB / 0.7683 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.1633, allocations: 4.375 kB / 0.7683 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.1633, allocations: 384 / 0.7683 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.1636, allocations: 82.14 kB / 0.7684 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1636, allocations: 3.938 kB / 0.7684 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.1636, allocations: 4 kB / 0.7684 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1636, allocations: 0 / 0.7684 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002729/0.1639, allocations: 71.92 kB / 0.7685 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.1643, allocations: 288.9 kB / 0.7687 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.1645, allocations: 70.41 kB / 0.7688 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.1647, allocations: 44.92 kB / 0.7688 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002301/0.1649, allocations: 109.1 kB / 0.7689 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1649, allocations: 34.56 kB / 0.769 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.1649, allocations: 0 / 0.769 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005198/0.1655, allocations: 153.5 kB / 0.7691 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.1655, allocations: 55.34 kB / 0.7692 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.1656, allocations: 125.8 kB / 0.7693 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1656, allocations: 25.7 kB / 0.7693 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.1657, allocations: 96.12 kB / 0.7694 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.1657, allocations: 7.906 kB / 0.7694 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.1658, allocations: 17.72 kB / 0.7694 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1659, allocations: 310.8 kB / 0.7697 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.1661, allocations: 43.95 kB / 0.7698 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.1662, allocations: 39.95 kB / 0.7698 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.1665, allocations: 80.72 kB / 0.7699 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1665, allocations: 4 kB / 0.7699 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003122/0.1668, allocations: 105.6 kB / 0.77 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1668, allocations: 4 kB / 0.77 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.1668, allocations: 7.922 kB / 0.77 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1668, allocations: 3.938 kB / 0.77 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1669, allocations: 15.98 kB / 0.77 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.167, allocations: 4 kB / 0.77 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.935e-05/0.167, allocations: 15.92 kB / 0.77 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.1671, allocations: 0 / 0.77 GB, free: 4.426 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 8.809e-05/0.1672, allocations: 122.4 kB / 0.7702 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.1672, allocations: 7.953 kB / 0.7702 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003496/0.1675, allocations: 117.5 kB / 0.7703 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1676, allocations: 0 / 0.7703 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1676, allocations: 0 / 0.7703 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-06/0.1676, allocations: 0 / 0.7703 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.1678, allocations: 189.6 kB / 0.7705 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1678, allocations: 0 / 0.7705 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.537e-05/0.1679, allocations: 23.91 kB / 0.7705 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1679, allocations: 0 / 0.7705 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.1679, allocations: 4 kB / 0.7705 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1679, allocations: 3.938 kB / 0.7705 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1679, allocations: 4 kB / 0.7705 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003627/0.1683, allocations: 207.4 kB / 0.7707 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.1683, allocations: 85.06 kB / 0.7708 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.1684, allocations: 0 / 0.7708 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.1685, allocations: 15.98 kB / 0.7708 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.1686, allocations: 4 kB / 0.7708 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.1686, allocations: 8.406 kB / 0.7708 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.415e-05/0.1686, allocations: 98.52 kB / 0.7709 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1686, allocations: 0 / 0.7709 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003063/0.1689, allocations: 8 kB / 0.7709 GB, free: 3.445 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.0007262/0.1697, allocations: 0.7514 MB / 0.7716 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003307/0.17, allocations: 79.91 kB / 0.7717 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.17, allocations: 4 kB / 0.7717 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.1702, allocations: 47.89 kB / 0.7718 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.1705, allocations: 4 kB / 0.7718 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005144/0.171, allocations: 191 kB / 0.772 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.1713, allocations: 0.6885 MB / 0.7726 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.594e-05/0.1714, allocations: 4 kB / 0.7726 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.1714, allocations: 19.42 kB / 0.7726 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.1714, allocations: 7.938 kB / 0.7727 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.242/2.413, allocations: 1.874 MB / 0.7745 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/15.63, allocations: 9.453 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)