Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0008755/0.0008755, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.0009983/0.0009983, allocations: 177.3 kB / 15.95 MB, free: 216 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.4/1.4, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9665/0.9665, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003943, allocations: 12 kB / 0.5159 GB, free: 11.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1714, allocations: 83.42 MB / 0.5974 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic): time 0.001977/0.1735, allocations: 1.19 MB / 0.5985 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002937/0.1738, allocations: 92.62 kB / 0.5986 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.192e-05/0.1738, allocations: 0 / 0.5986 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.292e-05/0.1739, allocations: 11.92 kB / 0.5986 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.18e-05/0.1739, allocations: 7.984 kB / 0.5986 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.1742, allocations: 11.98 kB / 0.5986 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.1743, allocations: 35.89 kB / 0.5987 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.1744, allocations: 15.92 kB / 0.5987 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.334e-05/0.1745, allocations: 8 kB / 0.5987 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.521e-05/0.1746, allocations: 19.91 kB / 0.5987 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.1746, allocations: 4 kB / 0.5987 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.487e-05/0.1747, allocations: 15.98 kB / 0.5987 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.319e-05/0.1747, allocations: 11.94 kB / 0.5987 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.1748, allocations: 33.69 kB / 0.5988 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.476e-05/0.1749, allocations: 35.92 kB / 0.5988 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1749, allocations: 4 kB / 0.5988 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.074e-06/0.1749, allocations: 0 / 0.5988 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.1749, allocations: 0 / 0.5988 GB, free: 6.258 MB / 0.4981 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.000614/0.1755, allocations: 379.4 kB / 0.5992 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.1756, allocations: 19.97 kB / 0.5992 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.392e-05/0.1756, allocations: 38.55 kB / 0.5992 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.1757, allocations: 7.906 kB / 0.5992 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.1758, allocations: 171 kB / 0.5994 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1758, allocations: 0 / 0.5994 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.1759, allocations: 0 / 0.5994 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.1761, allocations: 89.64 kB / 0.5995 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1762, allocations: 0 / 0.5995 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1762, allocations: 0 / 0.5995 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1762, allocations: 0 / 0.5995 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000325/0.1765, allocations: 103.9 kB / 0.5996 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.1769, allocations: 288.8 kB / 0.5999 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002269/0.1772, allocations: 78.53 kB / 0.5999 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002304/0.1774, allocations: 105.2 kB / 0.6 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.1774, allocations: 30.56 kB / 0.6001 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.1775, allocations: 4 kB / 0.6001 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0006524/0.1781, allocations: 181.5 kB / 0.6002 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.1782, allocations: 55.36 kB / 0.6003 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.1783, allocations: 125.8 kB / 0.6004 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1783, allocations: 25.7 kB / 0.6004 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.481e-05/0.1784, allocations: 104 kB / 0.6005 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.1784, allocations: 3.906 kB / 0.6005 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.1784, allocations: 0 / 0.6005 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1785, allocations: 318.8 kB / 0.6008 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.1787, allocations: 47.95 kB / 0.6009 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.1789, allocations: 47.95 kB / 0.6009 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.179, allocations: 47.97 kB / 0.601 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.179, allocations: 0 / 0.601 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003458/0.1794, allocations: 141.7 kB / 0.6011 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1794, allocations: 4 kB / 0.6011 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1794, allocations: 3.938 kB / 0.6011 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1794, allocations: 48 / 0.6011 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.1796, allocations: 23.97 kB / 0.6012 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1796, allocations: 0 / 0.6012 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.458e-05/0.1797, allocations: 27.92 kB / 0.6012 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.1797, allocations: 4 kB / 0.6012 GB, free: 3.59 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.888e-05/0.1798, allocations: 113.8 kB / 0.6013 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.1798, allocations: 0 / 0.6013 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004117/0.1802, allocations: 149.4 kB / 0.6014 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1802, allocations: 3.938 kB / 0.6014 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.1803, allocations: 4 kB / 0.6014 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1803, allocations: 0 / 0.6014 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.1805, allocations: 193.5 kB / 0.6016 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1805, allocations: 0 / 0.6016 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.887e-05/0.1806, allocations: 19.98 kB / 0.6016 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1806, allocations: 0 / 0.6016 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.1806, allocations: 0 / 0.6016 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1806, allocations: 0 / 0.6016 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1806, allocations: 4 kB / 0.6016 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004016/0.181, allocations: 235.4 kB / 0.6019 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.1811, allocations: 81.02 kB / 0.602 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.1811, allocations: 0 / 0.602 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.1812, allocations: 15.98 kB / 0.602 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.1813, allocations: 15.92 kB / 0.602 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.1813, allocations: 0 / 0.602 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.091e-05/0.1814, allocations: 102.6 kB / 0.6021 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1814, allocations: 0 / 0.6021 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002314/0.1816, allocations: 8 kB / 0.6021 GB, free: 2.562 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 (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.0007539/0.1824, allocations: 0.767 MB / 0.6028 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003509/0.1827, allocations: 103.9 kB / 0.6029 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1827, allocations: 4 kB / 0.6029 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.1829, allocations: 55.95 kB / 0.603 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/0.1831, allocations: 7.875 kB / 0.603 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.1836, allocations: 194.3 kB / 0.6032 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.1839, allocations: 0.6926 MB / 0.6039 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.219e-05/0.1839, allocations: 3.984 kB / 0.6039 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.184, allocations: 19.38 kB / 0.6039 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.184, allocations: 0 / 0.6039 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2907/0.4747, allocations: 1.521 MB / 0.6054 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001418/0.4749, allocations: 184 kB / 0.6055 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/2.138, allocations: 1.781 kB / 0.6055 GB, free: 40.07 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Biquadratic.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.pipe 2>&1) Environment - environmentSimulation: