Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 105.4 kB / 16.36 MB, free: 6.285 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.001243/0.001243, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8626/0.8626, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.89 kB / 0.5067 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3647, allocations: 80.9 MB / 0.5858 GB, free: 25.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002176/0.3669, allocations: 1.277 MB / 0.587 GB, free: 24.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1515/0.5184, allocations: 147 MB / 0.7306 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.13e-05/0.5185, allocations: 0 / 0.7306 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.5186, allocations: 0 / 0.7306 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.021e-05/0.5187, allocations: 7.922 kB / 0.7306 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.5191, allocations: 99.53 kB / 0.7307 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.564e-05/0.5192, allocations: 31.86 kB / 0.7307 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.5192, allocations: 4 kB / 0.7307 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.541e-05/0.5193, allocations: 19.92 kB / 0.7307 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.78e-05/0.5194, allocations: 15.98 kB / 0.7307 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.5194, allocations: 0 / 0.7307 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002622/0.5196, allocations: 79.81 kB / 0.7308 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.5197, allocations: 7.938 kB / 0.7308 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.284e-05/0.5197, allocations: 15.92 kB / 0.7308 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.5199, allocations: 61.77 kB / 0.7309 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.5199, allocations: 0 / 0.7309 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.923e-06/0.5199, allocations: 3.938 kB / 0.7309 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.5199, allocations: 4 kB / 0.7309 GB, free: 5.422 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.0004224/0.5203, allocations: 355.3 kB / 0.7312 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.5204, allocations: 9.109 kB / 0.7312 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.5206, allocations: 8.938 kB / 0.7313 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.5207, allocations: 168.3 kB / 0.7314 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.5207, allocations: 11.94 kB / 0.7314 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.5208, allocations: 7.938 kB / 0.7314 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.5209, allocations: 49.69 kB / 0.7315 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.5209, allocations: 4 kB / 0.7315 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.5209, allocations: 3.984 kB / 0.7315 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.5209, allocations: 0 / 0.7315 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.04e-05/0.521, allocations: 15.98 kB / 0.7315 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/0.5212, allocations: 169.5 kB / 0.7317 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.27e-05/0.5213, allocations: 50.5 kB / 0.7317 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.5213, allocations: 16.86 kB / 0.7317 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.5213, allocations: 4 kB / 0.7317 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.5213, allocations: 38.55 kB / 0.7318 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.5213, allocations: 0 / 0.7318 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0007326/0.5221, allocations: 378.3 kB / 0.7321 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.5221, allocations: 51.41 kB / 0.7322 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.44e-05/0.5222, allocations: 97.86 kB / 0.7323 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.5222, allocations: 25.7 kB / 0.7323 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.731e-05/0.5223, allocations: 88.08 kB / 0.7324 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.518e-05/0.5223, allocations: 39.36 kB / 0.7324 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.5224, allocations: 29.7 kB / 0.7324 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.5225, allocations: 322.8 kB / 0.7328 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.403e-05/0.5225, allocations: 15.98 kB / 0.7328 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.383e-05/0.5226, allocations: 37.83 kB / 0.7328 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.371e-05/0.5227, allocations: 57.7 kB / 0.7329 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.5227, allocations: 4 kB / 0.7329 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001265/0.5228, allocations: 89.61 kB / 0.7329 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.5228, allocations: 8 kB / 0.733 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.5228, allocations: 0 / 0.733 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.5229, allocations: 0 / 0.733 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.523, allocations: 23.98 kB / 0.733 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.523, allocations: 4.641 kB / 0.733 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.287e-05/0.523, allocations: 4 kB / 0.733 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.5231, allocations: 8 kB / 0.733 GB, free: 2.996 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.115e-05/0.5231, allocations: 117.8 kB / 0.7331 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.5232, allocations: 7.906 kB / 0.7331 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.5232, allocations: 11.97 kB / 0.7331 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5232, allocations: 0 / 0.7331 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.5232, allocations: 0 / 0.7331 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.5232, allocations: 0 / 0.7331 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.5234, allocations: 177.6 kB / 0.7333 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.5234, allocations: 4 kB / 0.7333 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.5235, allocations: 31.92 kB / 0.7333 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.5235, allocations: 0 / 0.7333 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.5235, allocations: 3.938 kB / 0.7333 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.5235, allocations: 3.938 kB / 0.7333 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.5235, allocations: 0 / 0.7333 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002015/0.5237, allocations: 129 kB / 0.7335 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.797e-05/0.5238, allocations: 89.05 kB / 0.7335 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.5238, allocations: 4 kB / 0.7335 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.252e-05/0.5239, allocations: 8 kB / 0.7336 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.524, allocations: 8.078 kB / 0.7336 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.524, allocations: 7.984 kB / 0.7336 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.665e-05/0.524, allocations: 75.28 kB / 0.7336 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.524, allocations: 7.938 kB / 0.7337 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001999/0.5242, allocations: 19.94 kB / 0.7337 GB, free: 2.211 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.0001061/0.5243, allocations: 100.5 kB / 0.7338 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001383/0.5245, allocations: 66.5 kB / 0.7338 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5245, allocations: 0 / 0.7338 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.713e-05/0.5245, allocations: 31.92 kB / 0.7339 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.5248, allocations: 12.75 kB / 0.7339 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005387/0.5253, allocations: 316.8 kB / 0.7342 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.5256, allocations: 0.6846 MB / 0.7348 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.12e-05/0.5256, allocations: 12.66 kB / 0.7349 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.839e-05/0.5257, allocations: 11.44 kB / 0.7349 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.5257, allocations: 0 / 0.7349 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of Templates: time 0.002789/0.5285, allocations: 0.6427 MB / 0.7355 GB, free: 308 kB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)