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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009621/0.0009621, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4897/0.4897, allocations: 90.8 MB / 104.5 MB, free: 9.801 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 221.3 MB / 348.3 MB, free: 444 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008366/0.0008365, allocations: 97.41 kB / 421.2 MB, free: 5.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.074e-05/4.078e-05, allocations: 4 kB / 0.4897 GB, free: 5.266 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3294, allocations: 72.31 MB / 0.5603 GB, free: 40.34 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1138/0.4433, allocations: 101.5 MB / 0.6594 GB, free: 2.723 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.4435, allocations: 71.95 kB / 0.6595 GB, free: 2.652 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003014/0.4466, allocations: 1.09 MB / 0.6605 GB, free: 1.578 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4466, allocations: 0 / 0.6605 GB, free: 1.578 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.4466, allocations: 0 / 0.6605 GB, free: 1.578 MB / 474.7 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.0004144/0.447, allocations: 379.7 kB / 0.6609 GB, free: 1.164 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4471, allocations: 19.92 kB / 0.6609 GB, free: 1.145 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.4471, allocations: 30.56 kB / 0.661 GB, free: 1.105 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.4471, allocations: 15.84 kB / 0.661 GB, free: 1.09 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.4473, allocations: 168.4 kB / 0.6611 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.4473, allocations: 4.562 kB / 0.6611 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.4473, allocations: 4 kB / 0.6611 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.4474, allocations: 53.67 kB / 0.6612 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.4474, allocations: 0 / 0.6612 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.4474, allocations: 4 kB / 0.6612 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.4475, allocations: 8 kB / 0.6612 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.177e-05/0.4475, allocations: 35.94 kB / 0.6612 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.4481, allocations: 320.8 kB / 0.6615 GB, free: 420 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.638e-05/0.4482, allocations: 50.56 kB / 0.6616 GB, free: 360 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.148e-05/0.4482, allocations: 20.95 kB / 0.6616 GB, free: 336 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001766/0.4484, allocations: 109.1 kB / 0.6617 GB, free: 208 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.4484, allocations: 30.56 kB / 0.6617 GB, free: 168 kB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.4484, allocations: 0 / 0.6617 GB, free: 168 kB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001743/0.4486, allocations: 77.56 kB / 0.6618 GB, free: 84 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.4486, allocations: 56.62 kB / 0.6619 GB, free: 16 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.587e-05/0.4488, allocations: 117 kB / 0.662 GB, free: 15.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.4488, allocations: 25.7 kB / 0.662 GB, free: 15.86 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.953e-05/0.4488, allocations: 88.05 kB / 0.6621 GB, free: 15.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.4489, allocations: 15.89 kB / 0.6621 GB, free: 15.76 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.4489, allocations: 0 / 0.6621 GB, free: 15.76 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.449, allocations: 310.8 kB / 0.6624 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.701e-05/0.449, allocations: 23.98 kB / 0.6624 GB, free: 15.42 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.683e-05/0.449, allocations: 16 kB / 0.6624 GB, free: 15.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.33e-05/0.4491, allocations: 15.98 kB / 0.6625 GB, free: 15.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4491, allocations: 0 / 0.6625 GB, free: 15.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001142/0.4492, allocations: 73.52 kB / 0.6625 GB, free: 15.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.4492, allocations: 4 kB / 0.6625 GB, free: 15.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.4492, allocations: 2.625 kB / 0.6625 GB, free: 15.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.4493, allocations: 3.953 kB / 0.6625 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.4494, allocations: 23.98 kB / 0.6626 GB, free: 15.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.4494, allocations: 7.438 kB / 0.6626 GB, free: 15.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.429e-05/0.4495, allocations: 15.98 kB / 0.6626 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.4495, allocations: 4 kB / 0.6626 GB, free: 15.26 MB / 490.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.045e-05/0.4496, allocations: 101 kB / 0.6627 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.4496, allocations: 11.89 kB / 0.6627 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00016/0.4498, allocations: 81.64 kB / 0.6628 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.4498, allocations: 7.938 kB / 0.6628 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.4498, allocations: 7.953 kB / 0.6628 GB, free: 15.03 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4498, allocations: 240 / 0.6628 GB, free: 15.03 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.45, allocations: 177.6 kB / 0.663 GB, free: 14.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.45, allocations: 0 / 0.663 GB, free: 14.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.4501, allocations: 19.98 kB / 0.663 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.4501, allocations: 3.984 kB / 0.663 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.4501, allocations: 0 / 0.663 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4501, allocations: 4 kB / 0.663 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4501, allocations: 0 / 0.663 GB, free: 14.78 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.4503, allocations: 167.5 kB / 0.6631 GB, free: 14.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.292e-05/0.4503, allocations: 84.95 kB / 0.6632 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.4503, allocations: 4 kB / 0.6632 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.4505, allocations: 23.97 kB / 0.6632 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.4505, allocations: 4 kB / 0.6633 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.4505, allocations: 7.938 kB / 0.6633 GB, free: 14.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.34e-05/0.4506, allocations: 108.3 kB / 0.6634 GB, free: 14.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4506, allocations: 0 / 0.6634 GB, free: 14.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002022/0.4508, allocations: 8 kB / 0.6634 GB, free: 14.35 MB / 490.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003991/0.4512, allocations: 0.6983 MB / 0.6641 GB, free: 13.62 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.151e-05/0.4513, allocations: 31.94 kB / 0.6641 GB, free: 13.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.4513, allocations: 0 / 0.6641 GB, free: 13.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.803e-05/0.4514, allocations: 23.98 kB / 0.6641 GB, free: 13.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.4515, allocations: 6.531 kB / 0.6641 GB, free: 13.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003396/0.4519, allocations: 138.4 kB / 0.6642 GB, free: 13.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.4521, allocations: 0.6935 MB / 0.6649 GB, free: 12.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.86e-05/0.4521, allocations: 3.938 kB / 0.6649 GB, free: 12.67 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.4522, allocations: 19.44 kB / 0.6649 GB, free: 12.65 MB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4522, allocations: 0 / 0.6649 GB, free: 12.65 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01174/0.4639, allocations: 1.534 MB / 0.6664 GB, free: 11.27 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/0.4642, allocations: 147 kB / 0.6666 GB, free: 11.04 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.312/1.776, allocations: 0 / 0.6666 GB, free: 11.04 MB / 490.7 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/linux/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)