Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",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.000781/0.000781, allocations: 98.58 kB / 16.02 MB, free: 80 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.0007891/0.0007892, allocations: 185 kB / 16.92 MB, free: 6.773 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.335/1.335, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7122/0.7122, allocations: 115.5 MB / 407.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003214, allocations: 8.594 kB / 496 MB, free: 6.266 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1413, allocations: 77.53 MB / 0.56 GB, free: 8.941 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001302/0.1427, allocations: 1.004 MB / 0.561 GB, free: 7.926 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4369/0.5795, allocations: 143.1 MB / 0.7008 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.917e-05/0.5796, allocations: 4 kB / 0.7008 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.731e-05/0.5797, allocations: 7.922 kB / 0.7008 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.952e-05/0.5797, allocations: 0 / 0.7008 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005787/0.5803, allocations: 82.52 kB / 0.7009 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.5805, allocations: 39.89 kB / 0.7009 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/0.5805, allocations: 0 / 0.7009 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.815e-05/0.5806, allocations: 11.94 kB / 0.7009 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.002e-05/0.5807, allocations: 15.98 kB / 0.701 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.5807, allocations: 0 / 0.701 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004305/0.5812, allocations: 78.69 kB / 0.701 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.383e-05/0.5812, allocations: 11.94 kB / 0.701 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.78e-05/0.5813, allocations: 37.62 kB / 0.7011 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.5815, allocations: 66.12 kB / 0.7011 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5815, allocations: 8 kB / 0.7012 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.913e-06/0.5816, allocations: 0 / 0.7012 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.5816, allocations: 0 / 0.7012 GB, free: 6.297 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005183/0.5821, allocations: 339.5 kB / 0.7015 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.5822, allocations: 8.031 kB / 0.7015 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.859e-05/0.5823, allocations: 42.73 kB / 0.7015 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003676/0.5826, allocations: 13.62 kB / 0.7015 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.5828, allocations: 161.1 kB / 0.7017 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.5828, allocations: 7.938 kB / 0.7017 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.5829, allocations: 8 kB / 0.7017 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.5831, allocations: 49.67 kB / 0.7018 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.5831, allocations: 0 / 0.7018 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.5832, allocations: 4 kB / 0.7018 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.5832, allocations: 4 kB / 0.7018 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.935e-05/0.5833, allocations: 15.92 kB / 0.7018 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.5836, allocations: 181.5 kB / 0.702 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.5837, allocations: 50.56 kB / 0.702 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.643e-05/0.5838, allocations: 16.86 kB / 0.702 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.5838, allocations: 0 / 0.702 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.5839, allocations: 30.56 kB / 0.702 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 2.334e-06/0.5839, allocations: 0 / 0.702 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001179/0.5851, allocations: 378.2 kB / 0.7024 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.5852, allocations: 55.41 kB / 0.7025 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.998e-05/0.5853, allocations: 89.86 kB / 0.7025 GB, free: 4.629 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.5853, allocations: 29.7 kB / 0.7026 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.596e-05/0.5854, allocations: 84.14 kB / 0.7027 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.248e-05/0.5855, allocations: 43.44 kB / 0.7027 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/0.5855, allocations: 17.72 kB / 0.7027 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.5857, allocations: 318.8 kB / 0.703 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.015e-05/0.5858, allocations: 20.12 kB / 0.703 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.43e-05/0.5859, allocations: 37.69 kB / 0.7031 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.5861, allocations: 58.83 kB / 0.7031 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.5861, allocations: 0 / 0.7031 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002714/0.5864, allocations: 98.2 kB / 0.7032 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.5864, allocations: 4 kB / 0.7032 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.5864, allocations: 80 / 0.7032 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.5865, allocations: 7.938 kB / 0.7032 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.5867, allocations: 19.98 kB / 0.7033 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.5867, allocations: 11.98 kB / 0.7033 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.18e-05/0.5868, allocations: 0 / 0.7033 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.5868, allocations: 10.81 kB / 0.7033 GB, free: 3.844 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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.0001278/0.587, allocations: 113.8 kB / 0.7034 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.587, allocations: 4 kB / 0.7034 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.784e-05/0.5871, allocations: 11.95 kB / 0.7034 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.5871, allocations: 7.938 kB / 0.7034 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.5871, allocations: 0 / 0.7034 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5871, allocations: 4 kB / 0.7034 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.5873, allocations: 169.6 kB / 0.7036 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5874, allocations: 0 / 0.7036 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.5876, allocations: 24 kB / 0.7036 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.5877, allocations: 3.938 kB / 0.7036 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.5877, allocations: 0 / 0.7036 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/0.5877, allocations: 7.984 kB / 0.7036 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.5877, allocations: 0 / 0.7036 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.5881, allocations: 136.9 kB / 0.7037 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.31e-05/0.5882, allocations: 89.14 kB / 0.7038 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.5882, allocations: 0 / 0.7038 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.5884, allocations: 11.94 kB / 0.7038 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.5884, allocations: 7.984 kB / 0.7038 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-06/0.5884, allocations: 4 kB / 0.7038 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.031e-05/0.5884, allocations: 75.28 kB / 0.7039 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.894e-06/0.5885, allocations: 0 / 0.7039 GB, free: 3.094 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002054/0.5887, allocations: 23.88 kB / 0.7039 GB, free: 3.07 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0004071/0.5891, allocations: 0.6772 MB / 0.7046 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001245/0.5892, allocations: 55.95 kB / 0.7047 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.5892, allocations: 0 / 0.7047 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.125e-05/0.5893, allocations: 37.23 kB / 0.7047 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.5895, allocations: 5.719 kB / 0.7047 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.5908, allocations: 1.501 MB / 0.7062 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.5911, allocations: 0.6848 MB / 0.7068 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.87e-05/0.5911, allocations: 8.656 kB / 0.7068 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.594e-05/0.5912, allocations: 19.44 kB / 0.7069 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of SimCode: time 4.4e-07/0.5912, allocations: 0 / 0.7069 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01053/0.6017, allocations: 1.451 MB / 0.7083 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.6019, allocations: 215.6 kB / 0.7085 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/2.24, allocations: 3.938 kB / 0.7085 GB, free: 14.39 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)