Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Utilities.Math.Examples.Biquadratic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Biquadratic,fileNamePrefix="IBPSA_latest_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.001282/0.001282, allocations: 107.6 kB / 16.41 MB, free: 6.469 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.001372/0.001372, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8305/0.8305, allocations: 122.9 MB / 414.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 68.55 kB / 0.568 GB, free: 29.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1605, allocations: 77.94 MB / 0.6441 GB, free: 9.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Biquadratic): time 0.002681/0.1632, allocations: 1.469 MB / 0.6455 GB, free: 8.164 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003716/0.1636, allocations: 112.6 kB / 0.6456 GB, free: 8.051 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.755e-05/0.1637, allocations: 0 / 0.6456 GB, free: 8.051 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.182e-05/0.1638, allocations: 3.938 kB / 0.6456 GB, free: 8.047 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.179e-05/0.1639, allocations: 11.88 kB / 0.6456 GB, free: 8.035 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.1641, allocations: 19.97 kB / 0.6456 GB, free: 8.016 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.1642, allocations: 39.92 kB / 0.6457 GB, free: 7.977 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.1644, allocations: 7.984 kB / 0.6457 GB, free: 7.969 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.269e-05/0.1644, allocations: 23.92 kB / 0.6457 GB, free: 7.945 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.802e-05/0.1645, allocations: 19.91 kB / 0.6457 GB, free: 7.926 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.1645, allocations: 4 kB / 0.6457 GB, free: 7.922 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.654e-05/0.1646, allocations: 27.92 kB / 0.6458 GB, free: 7.895 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.17e-05/0.1647, allocations: 23.86 kB / 0.6458 GB, free: 7.871 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.258e-05/0.1647, allocations: 23.86 kB / 0.6458 GB, free: 7.848 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.1649, allocations: 52.03 kB / 0.6459 GB, free: 7.797 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1649, allocations: 0 / 0.6459 GB, free: 7.797 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1649, allocations: 0 / 0.6459 GB, free: 7.797 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.165, allocations: 0 / 0.6459 GB, free: 7.797 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.0006733/0.1656, allocations: 383.1 kB / 0.6462 GB, free: 7.371 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/0.1657, allocations: 8.625 kB / 0.6462 GB, free: 7.363 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.319e-05/0.1658, allocations: 34.75 kB / 0.6463 GB, free: 7.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.1658, allocations: 12.89 kB / 0.6463 GB, free: 7.309 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.166, allocations: 176.3 kB / 0.6464 GB, free: 7.098 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.166, allocations: 4.375 kB / 0.6465 GB, free: 7.094 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.166, allocations: 384 / 0.6465 GB, free: 7.094 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.1663, allocations: 86.12 kB / 0.6465 GB, free: 7.004 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1664, allocations: 3.938 kB / 0.6465 GB, free: 7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.1664, allocations: 0 / 0.6465 GB, free: 7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.1664, allocations: 4 kB / 0.6465 GB, free: 6.996 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002973/0.1667, allocations: 71.92 kB / 0.6466 GB, free: 6.926 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004541/0.1672, allocations: 288.9 kB / 0.6469 GB, free: 6.594 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.1674, allocations: 70.47 kB / 0.647 GB, free: 6.516 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.1676, allocations: 44.92 kB / 0.647 GB, free: 6.469 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000336/0.1679, allocations: 105.1 kB / 0.6471 GB, free: 6.348 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.168, allocations: 30.56 kB / 0.6471 GB, free: 6.309 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 2.645e-06/0.168, allocations: 8 kB / 0.6471 GB, free: 6.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005773/0.1686, allocations: 149.5 kB / 0.6473 GB, free: 6.148 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.1686, allocations: 51.41 kB / 0.6473 GB, free: 6.086 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.48e-05/0.1687, allocations: 132.3 kB / 0.6474 GB, free: 5.949 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.1687, allocations: 29.7 kB / 0.6475 GB, free: 5.914 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.1688, allocations: 96.12 kB / 0.6476 GB, free: 5.816 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.1688, allocations: 11.84 kB / 0.6476 GB, free: 5.805 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.1689, allocations: 17.72 kB / 0.6476 GB, free: 5.781 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.258e-05/0.169, allocations: 314.8 kB / 0.6479 GB, free: 5.465 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.1691, allocations: 39.97 kB / 0.6479 GB, free: 5.426 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.1693, allocations: 39.95 kB / 0.648 GB, free: 5.387 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/0.1696, allocations: 80.72 kB / 0.6481 GB, free: 5.305 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1696, allocations: 0 / 0.6481 GB, free: 5.305 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003344/0.1699, allocations: 109.6 kB / 0.6482 GB, free: 5.191 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.1699, allocations: 9.391 kB / 0.6482 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1699, allocations: 0 / 0.6482 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.17, allocations: 0 / 0.6482 GB, free: 5.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.1701, allocations: 19.92 kB / 0.6482 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1701, allocations: 0 / 0.6482 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.283e-05/0.1702, allocations: 19.88 kB / 0.6482 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.1702, allocations: 0 / 0.6482 GB, free: 5.145 MB / 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 8.819e-05/0.1703, allocations: 125.8 kB / 0.6483 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.1703, allocations: 4 kB / 0.6483 GB, free: 5.008 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003915/0.1707, allocations: 113.5 kB / 0.6484 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.1708, allocations: 0 / 0.6484 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1708, allocations: 384 / 0.6484 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1708, allocations: 0 / 0.6484 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.171, allocations: 189.5 kB / 0.6486 GB, free: 4.648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.171, allocations: 4 kB / 0.6486 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.975e-05/0.1711, allocations: 15.97 kB / 0.6486 GB, free: 4.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1711, allocations: 11.92 kB / 0.6486 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.904e-06/0.1711, allocations: 0 / 0.6486 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.1711, allocations: 4 kB / 0.6486 GB, free: 4.613 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1711, allocations: 0 / 0.6486 GB, free: 4.613 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004189/0.1716, allocations: 211.4 kB / 0.6489 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/0.1716, allocations: 85.06 kB / 0.6489 GB, free: 4.289 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.1716, allocations: 0 / 0.6489 GB, free: 4.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.1717, allocations: 15.92 kB / 0.6489 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.1718, allocations: 7.984 kB / 0.649 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.1718, allocations: 0 / 0.649 GB, free: 4.266 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.593e-05/0.1719, allocations: 99.27 kB / 0.6491 GB, free: 4.168 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1719, allocations: 4 kB / 0.6491 GB, free: 4.164 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002347/0.1721, allocations: 8 kB / 0.6491 GB, free: 4.156 MB / 494.1 MB 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.000646/0.1728, allocations: 0.7474 MB / 0.6498 GB, free: 3.383 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00035/0.1731, allocations: 75.91 kB / 0.6499 GB, free: 3.309 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1731, allocations: 4 kB / 0.6499 GB, free: 3.305 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.1733, allocations: 43.91 kB / 0.6499 GB, free: 3.262 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.1735, allocations: 4 kB / 0.6499 GB, free: 3.258 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.174, allocations: 187 kB / 0.6501 GB, free: 3.035 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.1743, allocations: 0.6885 MB / 0.6508 GB, free: 2.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.183e-05/0.1743, allocations: 4 kB / 0.6508 GB, free: 2.316 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.1743, allocations: 19.42 kB / 0.6508 GB, free: 2.297 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1744, allocations: 0 / 0.6508 GB, free: 2.297 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.1902, allocations: 1.863 MB / 0.6526 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.375/7.566, allocations: 17.39 kB / 0.6526 GB, free: 0.4922 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Math_Examples_Biquadratic.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.pipe 2>&1)