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.0009451/0.000945, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006891/0.006891, allocations: 170 kB / 16.26 MB, free: 6.613 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.51/1.51, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8068/0.8068, allocations: 132.3 MB / 423.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002971, allocations: 8.812 kB / 0.5041 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.405, allocations: 81.58 MB / 0.5837 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001358/0.4064, allocations: 1.005 MB / 0.5847 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1573/0.5637, allocations: 143.2 MB / 0.7245 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.5638, allocations: 0 / 0.7245 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.248e-05/0.5639, allocations: 3.984 kB / 0.7245 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.048e-05/0.5639, allocations: 3.938 kB / 0.7245 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.5643, allocations: 79.7 kB / 0.7246 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.944e-05/0.5644, allocations: 39.83 kB / 0.7246 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.673e-05/0.5645, allocations: 4 kB / 0.7247 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.097e-05/0.5645, allocations: 15.94 kB / 0.7247 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.238e-05/0.5646, allocations: 15.97 kB / 0.7247 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.5646, allocations: 0 / 0.7247 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002705/0.5649, allocations: 75.83 kB / 0.7248 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.704e-05/0.5649, allocations: 7.922 kB / 0.7248 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.501e-05/0.565, allocations: 45.64 kB / 0.7248 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.5651, allocations: 62.19 kB / 0.7249 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5651, allocations: 0 / 0.7249 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.998e-06/0.5651, allocations: 0 / 0.7249 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.5652, allocations: 3.938 kB / 0.7249 GB, free: 15.41 MB / 0.5606 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.0003657/0.5655, allocations: 347.4 kB / 0.7252 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.5656, allocations: 12.03 kB / 0.7252 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.577e-05/0.5656, allocations: 34.75 kB / 0.7252 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.5658, allocations: 16.92 kB / 0.7253 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.5659, allocations: 168.1 kB / 0.7254 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.566, allocations: 4 kB / 0.7254 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.566, allocations: 8 kB / 0.7254 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.5661, allocations: 49.67 kB / 0.7255 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.5661, allocations: 0 / 0.7255 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.5662, allocations: 0 / 0.7255 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.5662, allocations: 0 / 0.7255 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.627e-05/0.5662, allocations: 15.98 kB / 0.7255 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.5664, allocations: 185.4 kB / 0.7257 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.416e-05/0.5665, allocations: 54.5 kB / 0.7257 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.676e-05/0.5665, allocations: 8.859 kB / 0.7257 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.5665, allocations: 0 / 0.7257 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.5666, allocations: 38.56 kB / 0.7258 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.113e-06/0.5666, allocations: 0 / 0.7258 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0007044/0.5673, allocations: 374.3 kB / 0.7261 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.5673, allocations: 55.34 kB / 0.7262 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.796e-05/0.5674, allocations: 93.86 kB / 0.7263 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.5674, allocations: 29.7 kB / 0.7263 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.443e-05/0.5675, allocations: 80.14 kB / 0.7264 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.5675, allocations: 39.36 kB / 0.7264 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.5675, allocations: 17.72 kB / 0.7264 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.5676, allocations: 330.9 kB / 0.7267 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.163e-05/0.5677, allocations: 12 kB / 0.7268 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.763e-05/0.5677, allocations: 37.7 kB / 0.7268 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.847e-05/0.5678, allocations: 58.23 kB / 0.7268 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.5678, allocations: 0 / 0.7268 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001293/0.568, allocations: 97.61 kB / 0.7269 GB, free: 13 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.568, allocations: 8 kB / 0.7269 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.568, allocations: 0 / 0.7269 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.568, allocations: 4 kB / 0.727 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.5681, allocations: 27.92 kB / 0.727 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.5682, allocations: 0 / 0.727 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.5682, allocations: 0 / 0.727 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.5682, allocations: 7.938 kB / 0.727 GB, free: 12.95 MB / 0.5606 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 8.159e-05/0.5683, allocations: 117.8 kB / 0.7271 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.5683, allocations: 7.906 kB / 0.7271 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.714e-05/0.5684, allocations: 15.95 kB / 0.7271 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.5684, allocations: 4 kB / 0.7271 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5684, allocations: 3.938 kB / 0.7271 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.5684, allocations: 0 / 0.7271 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.5685, allocations: 177.6 kB / 0.7273 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.716e-06/0.5685, allocations: 0 / 0.7273 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.5687, allocations: 27.88 kB / 0.7273 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.5687, allocations: 4 kB / 0.7273 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.5687, allocations: 0 / 0.7273 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.5687, allocations: 3.984 kB / 0.7273 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5687, allocations: 3.984 kB / 0.7273 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.5689, allocations: 135.7 kB / 0.7275 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.58e-05/0.569, allocations: 89.05 kB / 0.7275 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.569, allocations: 0 / 0.7275 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.437e-05/0.5691, allocations: 8 kB / 0.7276 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.582e-05/0.5691, allocations: 3.984 kB / 0.7276 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.5691, allocations: 4 kB / 0.7276 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.211e-05/0.5692, allocations: 79.22 kB / 0.7276 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5692, allocations: 3.938 kB / 0.7276 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001959/0.5694, allocations: 20.09 kB / 0.7277 GB, free: 12.16 MB / 0.5606 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.00042/0.5698, allocations: 0.6631 MB / 0.7283 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.5699, allocations: 63.06 kB / 0.7284 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.57, allocations: 0 / 0.7284 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.011e-05/0.57, allocations: 31.94 kB / 0.7284 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.5702, allocations: 15.92 kB / 0.7284 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.5716, allocations: 1.484 MB / 0.7299 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.5718, allocations: 0.6848 MB / 0.7305 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.775e-05/0.5719, allocations: 12.66 kB / 0.7305 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.5719, allocations: 15.44 kB / 0.7306 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.5719, allocations: 0 / 0.7306 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2915/0.8635, allocations: 1.463 MB / 0.732 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/0.8637, allocations: 210.2 kB / 0.7322 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/2.566, allocations: 0 / 0.7322 GB, free: 7.5 MB / 0.5606 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/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)