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.008351/0.008351, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001342/0.001342, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002656/0.002656, allocations: 289 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9773/0.9773, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002624/0.002624, allocations: 100 kB / 0.681 GB, free: 7.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4654/0.468, allocations: 86.96 MB / 0.7659 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.00282/0.4709, allocations: 1.484 MB / 0.7674 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003458/0.4713, allocations: 104.6 kB / 0.7675 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.731e-05/0.4713, allocations: 0 / 0.7675 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.089e-05/0.4714, allocations: 3.938 kB / 0.7675 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.507e-05/0.4715, allocations: 7.922 kB / 0.7675 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.4717, allocations: 27.91 kB / 0.7675 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.736e-05/0.4718, allocations: 39.91 kB / 0.7675 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.4719, allocations: 12 kB / 0.7675 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.406e-05/0.472, allocations: 19.92 kB / 0.7676 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.169e-05/0.472, allocations: 19.91 kB / 0.7676 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.4721, allocations: 4 kB / 0.7676 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.316e-05/0.4721, allocations: 23.98 kB / 0.7676 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.722e-05/0.4722, allocations: 15.92 kB / 0.7676 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.4722, allocations: 23.86 kB / 0.7676 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.4724, allocations: 59.55 kB / 0.7677 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4724, allocations: 0 / 0.7677 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4724, allocations: 4 kB / 0.7677 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.4724, allocations: 0 / 0.7677 GB, free: 2.039 MB / 0.5294 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.0006094/0.4731, allocations: 384.4 kB / 0.7681 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.4731, allocations: 11.97 kB / 0.7681 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.4732, allocations: 30.75 kB / 0.7681 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.4732, allocations: 8.891 kB / 0.7681 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.4734, allocations: 180.2 kB / 0.7683 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.4734, allocations: 8.375 kB / 0.7683 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.4734, allocations: 384 / 0.7683 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.4737, allocations: 70.22 kB / 0.7684 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.4737, allocations: 3.938 kB / 0.7684 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.4737, allocations: 0 / 0.7684 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.4737, allocations: 4 kB / 0.7684 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002989/0.474, allocations: 83.84 kB / 0.7685 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004519/0.4745, allocations: 288.9 kB / 0.7687 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.4747, allocations: 62.53 kB / 0.7688 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.4749, allocations: 48.91 kB / 0.7688 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002531/0.4751, allocations: 101.1 kB / 0.7689 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.4752, allocations: 38.48 kB / 0.769 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.4752, allocations: 7.938 kB / 0.769 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005657/0.4758, allocations: 149.5 kB / 0.7691 GB, free: 404 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.4758, allocations: 51.41 kB / 0.7692 GB, free: 340 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.4759, allocations: 129.3 kB / 0.7693 GB, free: 204 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.476, allocations: 29.7 kB / 0.7693 GB, free: 168 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.931e-05/0.476, allocations: 88.14 kB / 0.7694 GB, free: 76 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.476, allocations: 11.91 kB / 0.7694 GB, free: 64 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.4761, allocations: 17.72 kB / 0.7694 GB, free: 40 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.4763, allocations: 318.8 kB / 0.7697 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.4764, allocations: 39.95 kB / 0.7698 GB, free: 15.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.4766, allocations: 31.97 kB / 0.7698 GB, free: 15.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.4769, allocations: 92.66 kB / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4769, allocations: 4 kB / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003594/0.4772, allocations: 105.6 kB / 0.77 GB, free: 15.44 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.4773, allocations: 4 kB / 0.77 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.4773, allocations: 0 / 0.77 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.4773, allocations: 0 / 0.77 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.4774, allocations: 19.98 kB / 0.77 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4774, allocations: 0 / 0.77 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.039e-05/0.4775, allocations: 15.97 kB / 0.77 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.4775, allocations: 0 / 0.77 GB, free: 15.4 MB / 0.545 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 0.0001116/0.4777, allocations: 121.7 kB / 0.7702 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.4777, allocations: 7.953 kB / 0.7702 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003822/0.4781, allocations: 125.5 kB / 0.7703 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4781, allocations: 0 / 0.7703 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4781, allocations: 0 / 0.7703 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.4781, allocations: 3.938 kB / 0.7703 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.4783, allocations: 181.6 kB / 0.7705 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4783, allocations: 0 / 0.7705 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.9e-05/0.4784, allocations: 11.98 kB / 0.7705 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.4785, allocations: 8 kB / 0.7705 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.4785, allocations: 0 / 0.7705 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4785, allocations: 0 / 0.7705 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4785, allocations: 0 / 0.7705 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.4789, allocations: 215.7 kB / 0.7707 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.822e-05/0.479, allocations: 93 kB / 0.7708 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.479, allocations: 3.938 kB / 0.7708 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.4791, allocations: 15.98 kB / 0.7708 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/0.4792, allocations: 3.984 kB / 0.7708 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.4792, allocations: 0 / 0.7708 GB, free: 14.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.921e-05/0.4792, allocations: 103.3 kB / 0.7709 GB, free: 14.42 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4793, allocations: 0 / 0.7709 GB, free: 14.42 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002293/0.4795, allocations: 8 kB / 0.7709 GB, free: 14.41 MB / 0.545 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.0008332/0.4803, allocations: 0.7474 MB / 0.7716 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000437/0.4808, allocations: 83.92 kB / 0.7717 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4808, allocations: 0 / 0.7717 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.4809, allocations: 39.95 kB / 0.7718 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.4812, allocations: 10.75 kB / 0.7718 GB, free: 13.51 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.4817, allocations: 187 kB / 0.7719 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.4821, allocations: 0.6885 MB / 0.7726 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.396e-05/0.4821, allocations: 8 kB / 0.7726 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.4822, allocations: 15.44 kB / 0.7726 GB, free: 12.55 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.4822, allocations: 0 / 0.7726 GB, free: 12.55 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.5063, allocations: 1.9 MB / 0.7745 GB, free: 10.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.306, allocations: 17.03 kB / 0.7745 GB, free: 10.74 MB / 0.545 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1)