Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.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.Media.Examples.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck",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.001536/0.001536, allocations: 96.19 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.001847/0.001847, allocations: 174.4 kB / 16.56 MB, free: 6.387 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.504/2.504, allocations: 223.2 MB / 240.5 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.18/1.18, allocations: 113.7 MB / 405.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004526/0.0004528, allocations: 11.98 kB / 493 MB, free: 8.621 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2786, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002043/0.2807, allocations: 1.016 MB / 0.5577 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.7649/1.046, allocations: 125.2 MB / 0.6799 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.342e-05/1.046, allocations: 0 / 0.6799 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.294e-05/1.046, allocations: 0 / 0.6799 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.301e-05/1.046, allocations: 11.97 kB / 0.6799 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001222/1.047, allocations: 239.2 kB / 0.6802 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000105/1.047, allocations: 39.92 kB / 0.6802 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.714e-05/1.047, allocations: 4 kB / 0.6802 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.605e-05/1.047, allocations: 27.91 kB / 0.6802 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/1.048, allocations: 31.91 kB / 0.6803 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/1.048, allocations: 8 kB / 0.6803 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000716/1.048, allocations: 283.4 kB / 0.6805 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.931e-05/1.048, allocations: 15.97 kB / 0.6806 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/1.048, allocations: 37.7 kB / 0.6806 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002245/1.049, allocations: 96.64 kB / 0.6807 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/1.049, allocations: 0 / 0.6807 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.695e-06/1.049, allocations: 0 / 0.6807 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.928e-06/1.049, allocations: 0.6562 kB / 0.6807 GB, free: 11.25 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004881/1.049, allocations: 378.5 kB / 0.6811 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/1.049, allocations: 12.03 kB / 0.6811 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.216e-05/1.049, allocations: 39.42 kB / 0.6811 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000441/1.05, allocations: 35.86 kB / 0.6811 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/1.05, allocations: 163.1 kB / 0.6813 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/1.05, allocations: 11.95 kB / 0.6813 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/1.05, allocations: 19.83 kB / 0.6813 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/1.05, allocations: 73.66 kB / 0.6814 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/1.05, allocations: 7.938 kB / 0.6814 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/1.05, allocations: 0 / 0.6814 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/1.05, allocations: 4 kB / 0.6814 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/1.05, allocations: 47.02 kB / 0.6814 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/1.051, allocations: 185.6 kB / 0.6816 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/1.051, allocations: 86.75 kB / 0.6817 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.539e-05/1.051, allocations: 20.14 kB / 0.6817 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/1.051, allocations: 42.5 kB / 0.6818 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/1.051, allocations: 0 / 0.6818 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.001668/1.053, allocations: 0.5357 MB / 0.6823 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/1.053, allocations: 55.41 kB / 0.6823 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/1.053, allocations: 97.84 kB / 0.6824 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/1.053, allocations: 33.7 kB / 0.6825 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/1.053, allocations: 80.52 kB / 0.6825 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.186e-05/1.053, allocations: 63.02 kB / 0.6826 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-06/1.053, allocations: 4 kB / 0.6826 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002051/1.053, allocations: 322.8 kB / 0.6829 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.085e-05/1.053, allocations: 40.05 kB / 0.683 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/1.053, allocations: 64.42 kB / 0.683 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.079e-05/1.054, allocations: 47.98 kB / 0.6831 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/1.054, allocations: 0 / 0.6831 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002768/1.054, allocations: 157.4 kB / 0.6832 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/1.054, allocations: 4 kB / 0.6832 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.054, allocations: 0 / 0.6832 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/1.054, allocations: 8 kB / 0.6832 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/1.054, allocations: 39.92 kB / 0.6833 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/1.054, allocations: 0 / 0.6833 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.504e-05/1.054, allocations: 8 kB / 0.6833 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/1.054, allocations: 8 kB / 0.6833 GB, free: 8.328 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.0001545/1.054, allocations: 117.8 kB / 0.6834 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/1.054, allocations: 15.86 kB / 0.6834 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.268e-05/1.055, allocations: 20.42 kB / 0.6834 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/1.055, allocations: 0 / 0.6834 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/1.055, allocations: 4.875 kB / 0.6834 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.055, allocations: 0 / 0.6834 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/1.055, allocations: 193.6 kB / 0.6836 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/1.055, allocations: 0 / 0.6836 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/1.055, allocations: 39.92 kB / 0.6837 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/1.055, allocations: 3.953 kB / 0.6837 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/1.055, allocations: 8.125 kB / 0.6837 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/1.055, allocations: 7.938 kB / 0.6837 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.055, allocations: 0 / 0.6837 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/1.055, allocations: 210.5 kB / 0.6839 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/1.056, allocations: 92.94 kB / 0.684 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/1.056, allocations: 12.02 kB / 0.684 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/1.056, allocations: 7.984 kB / 0.684 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/1.056, allocations: 15.98 kB / 0.684 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/1.056, allocations: 4 kB / 0.684 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.363e-05/1.056, allocations: 75.28 kB / 0.6841 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.056, allocations: 0 / 0.6841 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002387/1.056, allocations: 36.09 kB / 0.6841 GB, free: 7.383 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0006772/1.057, allocations: 0.7417 MB / 0.6848 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002614/1.057, allocations: 112 kB / 0.6849 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.057, allocations: 4 kB / 0.6849 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.473e-05/1.057, allocations: 57.3 kB / 0.685 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/1.057, allocations: 11.98 kB / 0.685 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/1.06, allocations: 1.456 MB / 0.6864 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/1.06, allocations: 0.7089 MB / 0.6871 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001442/1.06, allocations: 16.64 kB / 0.6871 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.497e-05/1.06, allocations: 23.44 kB / 0.6872 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of SimCode: time 7.61e-07/1.06, allocations: 0 / 0.6872 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01692/1.077, allocations: 2.099 MB / 0.6892 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/1.077, allocations: 163.9 kB / 0.6894 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.92/3.997, allocations: 0 / 0.6894 GB, free: 1.938 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: