Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_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.0009873/0.0009874, allocations: 92 kB / 15.06 MB, free: 1.098 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.00107/0.001071, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.781/0.781, allocations: 132.3 MB / 423.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003944, allocations: 8.219 kB / 0.5035 GB, free: 4.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5303/0.5307, allocations: 81.58 MB / 0.5832 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001243/0.532, allocations: 0.9907 MB / 0.5841 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1678/0.6997, allocations: 133.5 MB / 0.7145 GB, free: 9.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.6999, allocations: 0 / 0.7145 GB, free: 9.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/0.6999, allocations: 0 / 0.7145 GB, free: 9.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.421e-05/0.7, allocations: 7.922 kB / 0.7145 GB, free: 9.723 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.7004, allocations: 87.52 kB / 0.7145 GB, free: 9.641 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.884e-05/0.7005, allocations: 27.86 kB / 0.7146 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.502e-05/0.7006, allocations: 4 kB / 0.7146 GB, free: 9.609 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.744e-05/0.7006, allocations: 11.94 kB / 0.7146 GB, free: 9.598 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.471e-05/0.7007, allocations: 15.97 kB / 0.7146 GB, free: 9.582 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.7007, allocations: 8 kB / 0.7146 GB, free: 9.574 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/0.7011, allocations: 67.83 kB / 0.7147 GB, free: 9.508 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.7011, allocations: 11.92 kB / 0.7147 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.7011, allocations: 29.7 kB / 0.7147 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.7013, allocations: 50.14 kB / 0.7148 GB, free: 9.414 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7013, allocations: 0 / 0.7148 GB, free: 9.414 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7013, allocations: 0 / 0.7148 GB, free: 9.414 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.7013, allocations: 0 / 0.7148 GB, free: 9.414 MB / 0.545 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.0004586/0.7018, allocations: 352.3 kB / 0.7151 GB, free: 9.023 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.7018, allocations: 12.03 kB / 0.7151 GB, free: 9.012 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.474e-05/0.7019, allocations: 34.52 kB / 0.7151 GB, free: 8.969 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.7021, allocations: 8 kB / 0.7152 GB, free: 8.961 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.7022, allocations: 167.1 kB / 0.7153 GB, free: 8.758 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.7023, allocations: 4 kB / 0.7153 GB, free: 8.754 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.7023, allocations: 0 / 0.7153 GB, free: 8.754 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.7024, allocations: 53.62 kB / 0.7154 GB, free: 8.695 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.7024, allocations: 0 / 0.7154 GB, free: 8.695 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.7025, allocations: 8 kB / 0.7154 GB, free: 8.688 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.7025, allocations: 11.88 kB / 0.7154 GB, free: 8.676 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.337e-05/0.7025, allocations: 19.97 kB / 0.7154 GB, free: 8.656 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.7028, allocations: 165.5 kB / 0.7156 GB, free: 8.445 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.738e-05/0.7028, allocations: 46.56 kB / 0.7156 GB, free: 8.391 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/0.7029, allocations: 20.8 kB / 0.7156 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.7029, allocations: 240 / 0.7156 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.7029, allocations: 42.55 kB / 0.7157 GB, free: 8.316 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.7029, allocations: 0 / 0.7157 GB, free: 8.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0007695/0.7037, allocations: 374.6 kB / 0.716 GB, free: 7.898 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.7038, allocations: 51.41 kB / 0.7161 GB, free: 7.836 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.839e-05/0.7039, allocations: 93.86 kB / 0.7162 GB, free: 7.734 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.7039, allocations: 29.83 kB / 0.7162 GB, free: 7.699 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.836e-05/0.7039, allocations: 84.14 kB / 0.7163 GB, free: 7.613 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.8e-05/0.704, allocations: 43.34 kB / 0.7163 GB, free: 7.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.704, allocations: 0 / 0.7163 GB, free: 7.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.7041, allocations: 322.8 kB / 0.7166 GB, free: 7.246 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.226e-05/0.7042, allocations: 12 kB / 0.7166 GB, free: 7.234 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.304e-05/0.7042, allocations: 41.64 kB / 0.7167 GB, free: 7.188 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.228e-05/0.7043, allocations: 20 kB / 0.7167 GB, free: 7.168 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.7043, allocations: 4 kB / 0.7167 GB, free: 7.164 MB / 0.545 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001356/0.7044, allocations: 93.67 kB / 0.7168 GB, free: 7.066 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.7045, allocations: 4 kB / 0.7168 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.7045, allocations: 0 / 0.7168 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.7045, allocations: 7.953 kB / 0.7168 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.7046, allocations: 23.92 kB / 0.7168 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.7046, allocations: 0 / 0.7168 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.931e-05/0.7047, allocations: 4 kB / 0.7168 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.7047, allocations: 4 kB / 0.7168 GB, free: 7.023 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.474e-05/0.7048, allocations: 117.8 kB / 0.7169 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.7048, allocations: 7.906 kB / 0.7169 GB, free: 6.891 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.7048, allocations: 7.969 kB / 0.717 GB, free: 6.887 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.7048, allocations: 4 kB / 0.717 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.7048, allocations: 7.891 kB / 0.717 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.7049, allocations: 4 kB / 0.717 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.705, allocations: 173.6 kB / 0.7171 GB, free: 6.652 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.705, allocations: 0 / 0.7171 GB, free: 6.652 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.7051, allocations: 23.98 kB / 0.7172 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.7051, allocations: 0 / 0.7172 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.7052, allocations: 4 kB / 0.7172 GB, free: 6.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.7052, allocations: 8 kB / 0.7172 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.7052, allocations: 0 / 0.7172 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.7054, allocations: 127.3 kB / 0.7173 GB, free: 6.477 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.261e-05/0.7055, allocations: 96.92 kB / 0.7174 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.7055, allocations: 0 / 0.7174 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.527e-05/0.7056, allocations: 8 kB / 0.7174 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.7056, allocations: 11.92 kB / 0.7174 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.7056, allocations: 4 kB / 0.7174 GB, free: 6.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.343e-05/0.7057, allocations: 83.23 kB / 0.7175 GB, free: 6.258 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7057, allocations: 0 / 0.7175 GB, free: 6.258 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001984/0.7059, allocations: 16 kB / 0.7175 GB, free: 6.242 MB / 0.545 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 (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.0004347/0.7063, allocations: 0.6593 MB / 0.7181 GB, free: 5.555 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001353/0.7064, allocations: 59.97 kB / 0.7182 GB, free: 5.496 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7065, allocations: 0 / 0.7182 GB, free: 5.496 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.934e-05/0.7065, allocations: 31.92 kB / 0.7182 GB, free: 5.465 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.7067, allocations: 8 kB / 0.7182 GB, free: 5.457 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009281/0.7077, allocations: 0.6642 MB / 0.7189 GB, free: 4.738 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.7079, allocations: 0.6888 MB / 0.7196 GB, free: 4.023 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.825e-05/0.708, allocations: 12.66 kB / 0.7196 GB, free: 4.012 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.305e-05/0.708, allocations: 15.5 kB / 0.7196 GB, free: 3.996 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.7081, allocations: 0 / 0.7196 GB, free: 3.996 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01329/0.7213, allocations: 1.431 MB / 0.721 GB, free: 2.742 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/0.7216, allocations: 189.3 kB / 0.7212 GB, free: 2.504 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/2.448, allocations: 3.938 kB / 0.7212 GB, free: 2.5 MB / 0.545 GB (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: