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.001302/0.001302, allocations: 101.5 kB / 15.98 MB, free: 6.301 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.001413/0.001414, allocations: 201.5 kB / 16.91 MB, free: 6.16 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.515/1.515, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7653/0.7653, allocations: 115.3 MB / 406.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.91 kB / 493.2 MB, free: 0.5742 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4709/0.4723, allocations: 76.17 MB / 0.556 GB, free: 36.1 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Biquadratic): time 0.00308/0.4755, allocations: 1.534 MB / 0.5575 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003383/0.4758, allocations: 107.2 kB / 0.5576 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.175e-05/0.4759, allocations: 0 / 0.5576 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.137e-05/0.4759, allocations: 7.438 kB / 0.5576 GB, free: 34.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.722e-05/0.476, allocations: 11.44 kB / 0.5576 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.4763, allocations: 16.66 kB / 0.5577 GB, free: 34.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.087e-05/0.4764, allocations: 43.89 kB / 0.5577 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.4765, allocations: 9.625 kB / 0.5577 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.414e-05/0.4766, allocations: 20.08 kB / 0.5577 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.732e-05/0.4766, allocations: 30.53 kB / 0.5578 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.4766, allocations: 7.219 kB / 0.5578 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.873e-05/0.4767, allocations: 22.34 kB / 0.5578 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.359e-05/0.4768, allocations: 10.66 kB / 0.5578 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.719e-05/0.4768, allocations: 24.11 kB / 0.5578 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.477, allocations: 48.16 kB / 0.5579 GB, free: 34.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.477, allocations: 0.5312 kB / 0.5579 GB, free: 34.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.477, allocations: 1.094 kB / 0.5579 GB, free: 34.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.477, allocations: 0.5 kB / 0.5579 GB, free: 34.87 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.0005372/0.4776, allocations: 381.1 kB / 0.5582 GB, free: 34.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.4776, allocations: 11 kB / 0.5582 GB, free: 34.49 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.732e-05/0.4777, allocations: 37.42 kB / 0.5583 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.4777, allocations: 8.406 kB / 0.5583 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.4778, allocations: 180.8 kB / 0.5585 GB, free: 34.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.4778, allocations: 1.125 kB / 0.5585 GB, free: 34.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.4779, allocations: 2.438 kB / 0.5585 GB, free: 34.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.4781, allocations: 80.5 kB / 0.5585 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4782, allocations: 4.906 kB / 0.5585 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.4782, allocations: 1.734 kB / 0.5585 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.4782, allocations: 1.5 kB / 0.5585 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.4785, allocations: 76.42 kB / 0.5586 GB, free: 34.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.4789, allocations: 283.3 kB / 0.5589 GB, free: 33.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.4791, allocations: 66.09 kB / 0.5589 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.4792, allocations: 54.16 kB / 0.559 GB, free: 33.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002378/0.4795, allocations: 103.9 kB / 0.5591 GB, free: 33.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.4795, allocations: 32.91 kB / 0.5591 GB, free: 33.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.4795, allocations: 0 / 0.5591 GB, free: 33.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005425/0.4801, allocations: 149.7 kB / 0.5593 GB, free: 33.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.4801, allocations: 52.81 kB / 0.5593 GB, free: 33.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.93e-05/0.4802, allocations: 124.9 kB / 0.5594 GB, free: 33.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.4802, allocations: 25.7 kB / 0.5595 GB, free: 33.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.4803, allocations: 93.66 kB / 0.5596 GB, free: 33.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.4803, allocations: 9.812 kB / 0.5596 GB, free: 33.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.4803, allocations: 18.17 kB / 0.5596 GB, free: 33.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.125e-05/0.4804, allocations: 320.2 kB / 0.5599 GB, free: 33.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.4806, allocations: 49.48 kB / 0.5599 GB, free: 33.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.4807, allocations: 37.36 kB / 0.56 GB, free: 33.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.481, allocations: 80.84 kB / 0.56 GB, free: 32.99 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.481, allocations: 1.719 kB / 0.56 GB, free: 32.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003241/0.4813, allocations: 112.4 kB / 0.5602 GB, free: 32.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.4814, allocations: 5.906 kB / 0.5602 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4814, allocations: 0 / 0.5602 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.4814, allocations: 1.5 kB / 0.5602 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.4815, allocations: 18.81 kB / 0.5602 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.4816, allocations: 4.875 kB / 0.5602 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.89e-05/0.4816, allocations: 24.88 kB / 0.5602 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.4817, allocations: 1.312 kB / 0.5602 GB, free: 32.93 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 6.858e-05/0.4817, allocations: 120.1 kB / 0.5603 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.4818, allocations: 3.109 kB / 0.5603 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000377/0.4821, allocations: 119.7 kB / 0.5604 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.4821, allocations: 0.7031 kB / 0.5604 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.4822, allocations: 0 / 0.5604 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.4822, allocations: 1.312 kB / 0.5604 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.4823, allocations: 185.3 kB / 0.5606 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.4824, allocations: 0 / 0.5606 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.58e-05/0.4825, allocations: 16.52 kB / 0.5606 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.4825, allocations: 1.062 kB / 0.5606 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.4825, allocations: 0 / 0.5606 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.4825, allocations: 6.797 kB / 0.5606 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4825, allocations: 0 / 0.5606 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003695/0.4829, allocations: 211 kB / 0.5608 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.4829, allocations: 84.78 kB / 0.5609 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.4829, allocations: 2.875 kB / 0.5609 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.483, allocations: 12.8 kB / 0.5609 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.319e-05/0.4831, allocations: 8.109 kB / 0.5609 GB, free: 32.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.4831, allocations: 1.344 kB / 0.5609 GB, free: 32.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.66e-05/0.4832, allocations: 97.95 kB / 0.561 GB, free: 32.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4832, allocations: 0 / 0.561 GB, free: 32.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002348/0.4834, allocations: 8.938 kB / 0.5611 GB, free: 32.22 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.0005935/0.484, allocations: 0.7486 MB / 0.5618 GB, free: 31.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003622/0.4844, allocations: 80.8 kB / 0.5619 GB, free: 31.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4844, allocations: 1.625 kB / 0.5619 GB, free: 31.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.4846, allocations: 48.67 kB / 0.5619 GB, free: 31.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.4848, allocations: 9.375 kB / 0.5619 GB, free: 31.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004966/0.4853, allocations: 201.8 kB / 0.5621 GB, free: 31.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/0.4855, allocations: 0.686 MB / 0.5628 GB, free: 30.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.044e-05/0.4855, allocations: 3.297 kB / 0.5628 GB, free: 30.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.4856, allocations: 19.36 kB / 0.5628 GB, free: 30.63 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4856, allocations: 3.938 kB / 0.5628 GB, free: 30.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0205/0.5061, allocations: 1.647 MB / 0.5644 GB, free: 30.41 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/0.5064, allocations: 192.5 kB / 0.5646 GB, free: 30.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/2.451, allocations: 1 kB / 0.5646 GB, free: 30.16 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Biquadratic.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Biquadratic.pipe 2>&1)