Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.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.QuadraticLinear,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear",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.0008402/0.0008402, allocations: 104.4 kB / 15.98 MB, free: 6.348 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.001111/0.001111, allocations: 198.4 kB / 16.91 MB, free: 6.199 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.322/1.322, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.754/0.754, allocations: 115.3 MB / 406.1 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 493.2 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3847, allocations: 76.17 MB / 0.556 GB, free: 35.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002211/0.3869, allocations: 1.547 MB / 0.5575 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002473/0.3872, allocations: 113.9 kB / 0.5576 GB, free: 34.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.843e-05/0.3872, allocations: 3.938 kB / 0.5576 GB, free: 34.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.353e-05/0.3873, allocations: 4.688 kB / 0.5576 GB, free: 34.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.197e-05/0.3873, allocations: 7.75 kB / 0.5577 GB, free: 34.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.3875, allocations: 18.17 kB / 0.5577 GB, free: 34.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.551e-05/0.3876, allocations: 44.03 kB / 0.5577 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.921e-05/0.3877, allocations: 8.484 kB / 0.5577 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.083e-05/0.3877, allocations: 26.23 kB / 0.5577 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.055e-05/0.3878, allocations: 21.23 kB / 0.5578 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.3878, allocations: 3.938 kB / 0.5578 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.57e-05/0.3879, allocations: 21.17 kB / 0.5578 GB, free: 34.51 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.198e-05/0.3879, allocations: 15.34 kB / 0.5578 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.3879, allocations: 21.45 kB / 0.5578 GB, free: 34.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.3881, allocations: 58.33 kB / 0.5579 GB, free: 34.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3881, allocations: 0 / 0.5579 GB, free: 34.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3881, allocations: 0 / 0.5579 GB, free: 34.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.361e-06/0.3881, allocations: 4.562 kB / 0.5579 GB, free: 34.46 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.0004072/0.3885, allocations: 373.2 kB / 0.5582 GB, free: 34.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.3885, allocations: 9.75 kB / 0.5582 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.534e-05/0.3886, allocations: 38.42 kB / 0.5583 GB, free: 34.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.3886, allocations: 6.844 kB / 0.5583 GB, free: 34.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.967e-05/0.3887, allocations: 175 kB / 0.5585 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.3887, allocations: 2.281 kB / 0.5585 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.3887, allocations: 1.625 kB / 0.5585 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.3889, allocations: 79.28 kB / 0.5585 GB, free: 33.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.389, allocations: 5.25 kB / 0.5585 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.389, allocations: 4.562 kB / 0.5585 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.389, allocations: 1.312 kB / 0.5585 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002757/0.3893, allocations: 78.69 kB / 0.5586 GB, free: 33.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002698/0.3895, allocations: 283.9 kB / 0.5589 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.3897, allocations: 71.56 kB / 0.559 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.3899, allocations: 44.94 kB / 0.559 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001935/0.3901, allocations: 109.3 kB / 0.5591 GB, free: 33.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.3901, allocations: 37.45 kB / 0.5591 GB, free: 33.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.3901, allocations: 0 / 0.5591 GB, free: 33.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005109/0.3906, allocations: 148.4 kB / 0.5593 GB, free: 33.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.88e-05/0.3907, allocations: 52.56 kB / 0.5593 GB, free: 33.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.273e-05/0.3908, allocations: 124.9 kB / 0.5595 GB, free: 33.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.3908, allocations: 32.05 kB / 0.5595 GB, free: 33.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.3908, allocations: 91.86 kB / 0.5596 GB, free: 32.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.3908, allocations: 11.3 kB / 0.5596 GB, free: 32.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.3909, allocations: 18.16 kB / 0.5596 GB, free: 32.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.795e-05/0.3909, allocations: 319.9 kB / 0.5599 GB, free: 32.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.391, allocations: 35.91 kB / 0.5599 GB, free: 32.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.3912, allocations: 38.83 kB / 0.56 GB, free: 32.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002489/0.3914, allocations: 84.61 kB / 0.5601 GB, free: 32.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.3914, allocations: 2.781 kB / 0.5601 GB, free: 32.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002911/0.3917, allocations: 104 kB / 0.5602 GB, free: 32.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.3918, allocations: 5.438 kB / 0.5602 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3918, allocations: 0 / 0.5602 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.3918, allocations: 3.656 kB / 0.5602 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.3919, allocations: 23.09 kB / 0.5602 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3919, allocations: 1.531 kB / 0.5602 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.266e-05/0.392, allocations: 19.92 kB / 0.5602 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.392, allocations: 6.062 kB / 0.5602 GB, free: 32.53 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 4.977e-05/0.3921, allocations: 117.8 kB / 0.5603 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.3921, allocations: 2.75 kB / 0.5603 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003274/0.3924, allocations: 118.9 kB / 0.5604 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3924, allocations: 2.281 kB / 0.5604 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3924, allocations: 1.625 kB / 0.5604 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3924, allocations: 3.938 kB / 0.5605 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.3926, allocations: 180.6 kB / 0.5606 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3926, allocations: 0 / 0.5606 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.94e-05/0.3927, allocations: 21.52 kB / 0.5606 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3927, allocations: 2.375 kB / 0.5606 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.3927, allocations: 0 / 0.5606 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3927, allocations: 2.469 kB / 0.5607 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3927, allocations: 0 / 0.5607 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.393, allocations: 210.7 kB / 0.5609 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.3931, allocations: 84.61 kB / 0.5609 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.3931, allocations: 1.547 kB / 0.5609 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.3932, allocations: 16.5 kB / 0.5609 GB, free: 31.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.3932, allocations: 8.406 kB / 0.561 GB, free: 31.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.3932, allocations: 1.406 kB / 0.561 GB, free: 31.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.028e-05/0.3933, allocations: 99.84 kB / 0.5611 GB, free: 31.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3933, allocations: 4.562 kB / 0.5611 GB, free: 31.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002225/0.3935, allocations: 14.41 kB / 0.5611 GB, free: 31.81 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.0004782/0.394, allocations: 0.7502 MB / 0.5618 GB, free: 31.13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003118/0.3943, allocations: 79.67 kB / 0.5619 GB, free: 31.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3943, allocations: 1.188 kB / 0.5619 GB, free: 31.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.3945, allocations: 47.55 kB / 0.5619 GB, free: 31.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.3947, allocations: 7.141 kB / 0.5619 GB, free: 31.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003876/0.3951, allocations: 189 kB / 0.5621 GB, free: 30.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.3952, allocations: 0.686 MB / 0.5628 GB, free: 30.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.123e-05/0.3953, allocations: 5.25 kB / 0.5628 GB, free: 30.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.3953, allocations: 22.06 kB / 0.5628 GB, free: 30.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3953, allocations: 0 / 0.5628 GB, free: 30.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1938/0.5891, allocations: 1.658 MB / 0.5644 GB, free: 30.02 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/0.5894, allocations: 195.2 kB / 0.5646 GB, free: 29.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.277, allocations: 11.06 kB / 0.5646 GB, free: 29.76 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_QuadraticLinear.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)