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.001481/0.001481, allocations: 95.8 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002377/0.002377, allocations: 172 kB / 16.57 MB, free: 6.391 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.79/1.79, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.108/1.108, allocations: 113.7 MB / 405.3 MB, free: 4.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004689, allocations: 8 kB / 493 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3104, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002802/0.3133, allocations: 1.185 MB / 0.5579 GB, free: 10.51 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005928/0.314, allocations: 116.5 kB / 0.558 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.841e-05/0.3141, allocations: 0 / 0.558 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.955e-05/0.3141, allocations: 3.938 kB / 0.558 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.196e-05/0.3143, allocations: 11.97 kB / 0.558 GB, free: 10.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.3146, allocations: 15.98 kB / 0.558 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.3148, allocations: 31.89 kB / 0.558 GB, free: 10.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.3149, allocations: 8 kB / 0.558 GB, free: 10.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.593e-05/0.315, allocations: 15.98 kB / 0.5581 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.205e-05/0.3151, allocations: 19.91 kB / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.3152, allocations: 4 kB / 0.5581 GB, free: 10.28 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.205e-05/0.3153, allocations: 11.98 kB / 0.5581 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.062e-05/0.3153, allocations: 11.94 kB / 0.5581 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.698e-05/0.3154, allocations: 33.7 kB / 0.5581 GB, free: 10.22 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.3156, allocations: 35.92 kB / 0.5582 GB, free: 10.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3156, allocations: 0 / 0.5582 GB, free: 10.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 5.68e-06/0.3156, allocations: 3.984 kB / 0.5582 GB, free: 10.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.3156, allocations: 0 / 0.5582 GB, free: 10.18 MB / 430.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.001077/0.3167, allocations: 391.3 kB / 0.5586 GB, free: 9.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.22e-05/0.3168, allocations: 8.031 kB / 0.5586 GB, free: 9.742 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.849e-05/0.3169, allocations: 30.56 kB / 0.5586 GB, free: 9.703 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.3169, allocations: 4 kB / 0.5586 GB, free: 9.699 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002234/0.3172, allocations: 171 kB / 0.5588 GB, free: 9.492 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.3172, allocations: 7.938 kB / 0.5588 GB, free: 9.484 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.3172, allocations: 4 kB / 0.5588 GB, free: 9.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004388/0.3177, allocations: 81.61 kB / 0.5588 GB, free: 9.395 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.3177, allocations: 0 / 0.5588 GB, free: 9.395 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.3177, allocations: 8 kB / 0.5589 GB, free: 9.387 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.3178, allocations: 4 kB / 0.5589 GB, free: 9.383 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004936/0.3183, allocations: 99.84 kB / 0.559 GB, free: 9.285 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008516/0.3191, allocations: 288.9 kB / 0.5592 GB, free: 8.953 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003341/0.3195, allocations: 78.48 kB / 0.5593 GB, free: 8.867 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003735/0.3199, allocations: 109.2 kB / 0.5594 GB, free: 8.742 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.3199, allocations: 30.56 kB / 0.5594 GB, free: 8.703 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.3199, allocations: 0 / 0.5594 GB, free: 8.703 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.000878/0.3208, allocations: 185.4 kB / 0.5596 GB, free: 8.516 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.3209, allocations: 59.39 kB / 0.5597 GB, free: 8.445 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.3211, allocations: 117.8 kB / 0.5598 GB, free: 8.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.307e-05/0.3212, allocations: 25.7 kB / 0.5598 GB, free: 8.289 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.714e-05/0.3213, allocations: 96.12 kB / 0.5599 GB, free: 8.191 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.3213, allocations: 15.8 kB / 0.5599 GB, free: 8.176 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.3213, allocations: 0 / 0.5599 GB, free: 8.176 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003032/0.3216, allocations: 326.8 kB / 0.5602 GB, free: 7.848 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004222/0.3221, allocations: 43.97 kB / 0.5603 GB, free: 7.805 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.3223, allocations: 51.95 kB / 0.5603 GB, free: 7.754 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.3225, allocations: 39.97 kB / 0.5604 GB, free: 7.715 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3225, allocations: 0 / 0.5604 GB, free: 7.715 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006195/0.3232, allocations: 137.5 kB / 0.5605 GB, free: 7.574 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/0.3232, allocations: 12 kB / 0.5605 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3232, allocations: 0 / 0.5605 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.3233, allocations: 0 / 0.5605 GB, free: 7.562 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.3235, allocations: 23.98 kB / 0.5605 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.3235, allocations: 0 / 0.5605 GB, free: 7.539 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.3236, allocations: 27.88 kB / 0.5605 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.3237, allocations: 0 / 0.5605 GB, free: 7.512 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001424/0.3238, allocations: 113.8 kB / 0.5607 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.3239, allocations: 7.953 kB / 0.5607 GB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006537/0.3245, allocations: 141.4 kB / 0.5608 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.3246, allocations: 4 kB / 0.5608 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.3246, allocations: 3.938 kB / 0.5608 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.3246, allocations: 0 / 0.5608 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003622/0.325, allocations: 173.6 kB / 0.561 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.325, allocations: 4 kB / 0.561 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.3251, allocations: 19.98 kB / 0.561 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.3252, allocations: 0 / 0.561 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.3252, allocations: 11.95 kB / 0.561 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3252, allocations: 0 / 0.561 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3252, allocations: 0 / 0.561 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000576/0.3258, allocations: 227.8 kB / 0.5612 GB, free: 6.734 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.151e-05/0.3259, allocations: 85.02 kB / 0.5613 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.3259, allocations: 4 kB / 0.5613 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.3261, allocations: 31.86 kB / 0.5613 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.3262, allocations: 48 / 0.5613 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.3262, allocations: 3.984 kB / 0.5613 GB, free: 6.594 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.31e-05/0.3263, allocations: 95.27 kB / 0.5614 GB, free: 6.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3263, allocations: 0 / 0.5614 GB, free: 6.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003803/0.3267, allocations: 16 kB / 0.5614 GB, free: 6.484 MB / 430.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 (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.001103/0.3278, allocations: 0.7638 MB / 0.5622 GB, free: 5.695 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005655/0.3284, allocations: 99.86 kB / 0.5623 GB, free: 5.598 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3284, allocations: 0 / 0.5623 GB, free: 5.598 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002541/0.3287, allocations: 59.95 kB / 0.5623 GB, free: 5.539 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.329, allocations: 11.83 kB / 0.5624 GB, free: 5.527 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008156/0.3298, allocations: 196.1 kB / 0.5625 GB, free: 5.305 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.3303, allocations: 0.7004 MB / 0.5632 GB, free: 4.578 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.429e-05/0.3304, allocations: 4 kB / 0.5632 GB, free: 4.574 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.918e-05/0.3304, allocations: 11.44 kB / 0.5632 GB, free: 4.562 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3304, allocations: 0 / 0.5632 GB, free: 4.562 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05498/0.3854, allocations: 1.515 MB / 0.5647 GB, free: 3.172 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000354/0.3859, allocations: 180.9 kB / 0.5649 GB, free: 2.926 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.032/3.417, allocations: 0 / 0.5649 GB, free: 2.926 MB / 430.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/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) Environment - environmentSimulation: