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.002341/0.002342, allocations: 103.3 kB / 16.4 MB, free: 6.48 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.002565/0.002565, allocations: 197.2 kB / 17.34 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.308/2.308, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.597/1.597, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002634/0.002634, allocations: 65.95 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2553, allocations: 76.18 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.005581/0.2609, allocations: 1.477 MB / 0.633 GB, free: 3.41 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006365/0.2616, allocations: 112.6 kB / 0.6331 GB, free: 3.297 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.718e-05/0.2617, allocations: 0 / 0.6331 GB, free: 3.297 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 7.573e-05/0.2618, allocations: 3.938 kB / 0.6331 GB, free: 3.293 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.2621, allocations: 7.922 kB / 0.6332 GB, free: 3.285 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004193/0.2625, allocations: 27.91 kB / 0.6332 GB, free: 3.258 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.2627, allocations: 43.84 kB / 0.6332 GB, free: 3.215 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.2629, allocations: 8 kB / 0.6332 GB, free: 3.207 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.502e-05/0.263, allocations: 19.92 kB / 0.6333 GB, free: 3.188 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.2631, allocations: 19.92 kB / 0.6333 GB, free: 3.168 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.2632, allocations: 4 kB / 0.6333 GB, free: 3.164 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.2633, allocations: 23.97 kB / 0.6333 GB, free: 3.141 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.752e-05/0.2634, allocations: 19.86 kB / 0.6333 GB, free: 3.121 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.67e-05/0.2635, allocations: 23.86 kB / 0.6333 GB, free: 3.098 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.2638, allocations: 55.81 kB / 0.6334 GB, free: 3.043 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/0.2638, allocations: 0 / 0.6334 GB, free: 3.043 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.2638, allocations: 0 / 0.6334 GB, free: 3.043 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.2638, allocations: 4 kB / 0.6334 GB, free: 3.039 MB / 478.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.0009579/0.2648, allocations: 378.9 kB / 0.6338 GB, free: 2.621 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.518e-05/0.2649, allocations: 12.03 kB / 0.6338 GB, free: 2.609 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.493e-05/0.265, allocations: 30.75 kB / 0.6338 GB, free: 2.57 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.609e-05/0.265, allocations: 8.844 kB / 0.6338 GB, free: 2.562 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.2653, allocations: 176.3 kB / 0.634 GB, free: 2.352 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.2653, allocations: 384 / 0.634 GB, free: 2.352 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.2654, allocations: 384 / 0.634 GB, free: 2.352 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.2658, allocations: 82.16 kB / 0.6341 GB, free: 2.266 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.2659, allocations: 3.938 kB / 0.6341 GB, free: 2.262 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.2659, allocations: 4 kB / 0.6341 GB, free: 2.258 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2659, allocations: 0 / 0.6341 GB, free: 2.258 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006113/0.2665, allocations: 75.91 kB / 0.6341 GB, free: 2.184 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006418/0.2672, allocations: 288.8 kB / 0.6344 GB, free: 1.852 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/0.2676, allocations: 70.53 kB / 0.6345 GB, free: 1.773 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.2679, allocations: 44.84 kB / 0.6345 GB, free: 1.727 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000432/0.2683, allocations: 113.1 kB / 0.6346 GB, free: 1.598 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.2684, allocations: 30.56 kB / 0.6347 GB, free: 1.559 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 2.294e-06/0.2684, allocations: 0 / 0.6347 GB, free: 1.559 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.001054/0.2694, allocations: 141.6 kB / 0.6348 GB, free: 1.414 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.2695, allocations: 59.34 kB / 0.6348 GB, free: 1.344 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.2697, allocations: 132.5 kB / 0.635 GB, free: 1.207 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.2698, allocations: 25.7 kB / 0.635 GB, free: 1.176 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.987e-05/0.2699, allocations: 96.05 kB / 0.6351 GB, free: 1.078 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.793e-05/0.2699, allocations: 7.891 kB / 0.6351 GB, free: 1.07 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.853e-05/0.27, allocations: 17.72 kB / 0.6351 GB, free: 1.047 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.2702, allocations: 314.8 kB / 0.6354 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.2705, allocations: 43.89 kB / 0.6355 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002667/0.2708, allocations: 40.14 kB / 0.6355 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000559/0.2714, allocations: 84.8 kB / 0.6356 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2714, allocations: 0 / 0.6356 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006752/0.2721, allocations: 113.5 kB / 0.6357 GB, free: 456 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.176e-05/0.2722, allocations: 4 kB / 0.6357 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.2722, allocations: 4 kB / 0.6357 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/0.2722, allocations: 4 kB / 0.6357 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.2725, allocations: 15.97 kB / 0.6357 GB, free: 428 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.2725, allocations: 0 / 0.6357 GB, free: 428 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.2727, allocations: 23.92 kB / 0.6357 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.2727, allocations: 0 / 0.6357 GB, free: 404 kB / 478.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 0.000177/0.2729, allocations: 113.8 kB / 0.6358 GB, free: 280 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.273, allocations: 4 kB / 0.6358 GB, free: 276 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007338/0.2737, allocations: 121.5 kB / 0.636 GB, free: 140 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.2737, allocations: 0 / 0.636 GB, free: 140 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.2738, allocations: 4 kB / 0.636 GB, free: 136 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.2738, allocations: 0 / 0.636 GB, free: 136 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004126/0.2742, allocations: 185.5 kB / 0.6361 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.2742, allocations: 0 / 0.6361 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.2744, allocations: 15.98 kB / 0.6362 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.2745, allocations: 0 / 0.6362 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.2745, allocations: 0 / 0.6362 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/0.2745, allocations: 3.984 kB / 0.6362 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2745, allocations: 3.938 kB / 0.6362 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007369/0.2753, allocations: 207.4 kB / 0.6364 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.058e-05/0.2754, allocations: 88.94 kB / 0.6364 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.2754, allocations: 0 / 0.6364 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.2756, allocations: 15.98 kB / 0.6365 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.39e-05/0.2757, allocations: 7.938 kB / 0.6365 GB, free: 15.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.2757, allocations: 4 kB / 0.6365 GB, free: 15.53 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.2758, allocations: 103.2 kB / 0.6366 GB, free: 15.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.2758, allocations: 0 / 0.6366 GB, free: 15.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004131/0.2763, allocations: 12 kB / 0.6366 GB, free: 15.41 MB / 494.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.001264/0.2775, allocations: 0.7435 MB / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006066/0.2782, allocations: 75.92 kB / 0.6374 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.2782, allocations: 0 / 0.6374 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002677/0.2785, allocations: 47.95 kB / 0.6374 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.279, allocations: 8.312 kB / 0.6374 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009604/0.2799, allocations: 183.2 kB / 0.6376 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.2804, allocations: 0.6884 MB / 0.6383 GB, free: 13.58 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.372e-05/0.2805, allocations: 4 kB / 0.6383 GB, free: 13.58 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.048e-05/0.2806, allocations: 19.44 kB / 0.6383 GB, free: 13.56 MB / 494.1 MB Notification: Performance of SimCode: time 1.532e-06/0.2806, allocations: 0 / 0.6383 GB, free: 13.56 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0936/0.3742, allocations: 1.911 MB / 0.6402 GB, free: 11.72 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/13.74, allocations: 15.53 kB / 0.6402 GB, free: 11.71 MB / 494.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)