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.001107/0.001107, allocations: 104.4 kB / 16.27 MB, free: 5.945 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.001235/0.001235, allocations: 188.5 kB / 17.19 MB, free: 5.586 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.32/1.32, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7449/0.7449, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001486, allocations: 67.89 kB / 0.4912 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3622, allocations: 77.92 MB / 0.5673 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Biquadratic): time 0.002402/0.3647, allocations: 1.469 MB / 0.5687 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002575/0.365, allocations: 110.1 kB / 0.5688 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.469e-05/0.365, allocations: 1 kB / 0.5688 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.173e-05/0.3651, allocations: 8.531 kB / 0.5688 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.727e-05/0.3651, allocations: 7.516 kB / 0.5688 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.3653, allocations: 21.19 kB / 0.5689 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.265e-05/0.3654, allocations: 43.25 kB / 0.5689 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.34e-05/0.3655, allocations: 11.33 kB / 0.5689 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.295e-05/0.3656, allocations: 22.36 kB / 0.5689 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.148e-05/0.3656, allocations: 23.28 kB / 0.569 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.3656, allocations: 3.906 kB / 0.569 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.18e-05/0.3657, allocations: 19.11 kB / 0.569 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.429e-05/0.3657, allocations: 17.67 kB / 0.569 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.019e-05/0.3658, allocations: 18.14 kB / 0.569 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.3659, allocations: 57.02 kB / 0.5691 GB, free: 31.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3659, allocations: 1.125 kB / 0.5691 GB, free: 31.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3659, allocations: 0 / 0.5691 GB, free: 31.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3659, allocations: 0 / 0.5691 GB, free: 31.58 MB / 446.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.0004353/0.3664, allocations: 384.6 kB / 0.5694 GB, free: 31.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.3664, allocations: 10.78 kB / 0.5694 GB, free: 31.2 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.877e-05/0.3664, allocations: 32.28 kB / 0.5695 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.3665, allocations: 3.781 kB / 0.5695 GB, free: 31.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.747e-05/0.3665, allocations: 180.6 kB / 0.5697 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.3666, allocations: 1.406 kB / 0.5697 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.3666, allocations: 6.656 kB / 0.5697 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.3668, allocations: 79.36 kB / 0.5697 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.3668, allocations: 3.938 kB / 0.5697 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.3669, allocations: 0 / 0.5697 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.3669, allocations: 2.031 kB / 0.5697 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.3672, allocations: 72.19 kB / 0.5698 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.3674, allocations: 290.9 kB / 0.5701 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.3677, allocations: 70 kB / 0.5702 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.3678, allocations: 43.36 kB / 0.5702 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001993/0.368, allocations: 107.3 kB / 0.5703 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.3681, allocations: 36.69 kB / 0.5703 GB, free: 30.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3681, allocations: 0 / 0.5703 GB, free: 30.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005408/0.3686, allocations: 149 kB / 0.5705 GB, free: 30.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/0.3686, allocations: 55.17 kB / 0.5705 GB, free: 30.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.446e-05/0.3687, allocations: 134 kB / 0.5707 GB, free: 30.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/0.3687, allocations: 25.7 kB / 0.5707 GB, free: 30.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.993e-05/0.3688, allocations: 88.77 kB / 0.5708 GB, free: 30.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.3688, allocations: 11.62 kB / 0.5708 GB, free: 30.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.3688, allocations: 13.12 kB / 0.5708 GB, free: 30.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.237e-05/0.3689, allocations: 321.3 kB / 0.5711 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.369, allocations: 34.67 kB / 0.5711 GB, free: 29.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.3692, allocations: 38.27 kB / 0.5712 GB, free: 29.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.3695, allocations: 85.42 kB / 0.5712 GB, free: 29.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3695, allocations: 0 / 0.5712 GB, free: 29.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003225/0.3698, allocations: 114.6 kB / 0.5714 GB, free: 29.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.3698, allocations: 5.172 kB / 0.5714 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3698, allocations: 1.656 kB / 0.5714 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3699, allocations: 1.344 kB / 0.5714 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.37, allocations: 15.72 kB / 0.5714 GB, free: 29.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.37, allocations: 5.125 kB / 0.5714 GB, free: 29.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.9e-05/0.3701, allocations: 19.98 kB / 0.5714 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.3701, allocations: 2.422 kB / 0.5714 GB, free: 29.64 MB / 446.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 5.224e-05/0.3702, allocations: 115.6 kB / 0.5715 GB, free: 29.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.3702, allocations: 7.797 kB / 0.5715 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/0.3706, allocations: 124.4 kB / 0.5716 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3706, allocations: 3.578 kB / 0.5716 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.3706, allocations: 0 / 0.5716 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.3706, allocations: 5.031 kB / 0.5716 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.3707, allocations: 178.7 kB / 0.5718 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3707, allocations: 2.391 kB / 0.5718 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.391e-05/0.3708, allocations: 15.59 kB / 0.5718 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3708, allocations: 2.406 kB / 0.5718 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.3709, allocations: 0 / 0.5718 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3709, allocations: 1.812 kB / 0.5718 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3709, allocations: 5.828 kB / 0.5718 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.3712, allocations: 205.2 kB / 0.572 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.3712, allocations: 88.94 kB / 0.5721 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.3713, allocations: 0.6562 kB / 0.5721 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.3714, allocations: 13.12 kB / 0.5721 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.3714, allocations: 3.5 kB / 0.5721 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.3714, allocations: 1.797 kB / 0.5721 GB, free: 29.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.216e-05/0.3715, allocations: 105.9 kB / 0.5722 GB, free: 28.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3715, allocations: 0 / 0.5722 GB, free: 28.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.3717, allocations: 13.38 kB / 0.5723 GB, free: 28.92 MB / 446.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.000502/0.3722, allocations: 0.7493 MB / 0.573 GB, free: 28.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003327/0.3726, allocations: 84.61 kB / 0.5731 GB, free: 28.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3726, allocations: 1.25 kB / 0.5731 GB, free: 28.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.3727, allocations: 40.38 kB / 0.5731 GB, free: 28.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.373, allocations: 7.766 kB / 0.5731 GB, free: 28.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.3734, allocations: 180.7 kB / 0.5733 GB, free: 28.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.3735, allocations: 0.6901 MB / 0.574 GB, free: 27.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.828e-05/0.3735, allocations: 3.812 kB / 0.574 GB, free: 27.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.3736, allocations: 15.38 kB / 0.574 GB, free: 27.35 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3736, allocations: 3.938 kB / 0.574 GB, free: 27.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01668/0.3903, allocations: 1.841 MB / 0.5758 GB, free: 27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.986/7.376, allocations: 14.53 kB / 0.5758 GB, free: 26.99 MB / 446.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)