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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 212.9 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8349/0.8349, allocations: 134 MB / 446.4 MB, free: 9.914 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 66.64 kB / 0.6185 GB, free: 6.898 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.178, allocations: 85.9 MB / 0.7024 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002553/0.1806, allocations: 1.287 MB / 0.7036 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.572/0.7526, allocations: 129 MB / 0.8296 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.164e-05/0.7526, allocations: 0.75 kB / 0.8296 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.539e-05/0.7526, allocations: 11.92 kB / 0.8297 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.627e-05/0.7527, allocations: 7.922 kB / 0.8297 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.7531, allocations: 88.52 kB / 0.8297 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.519e-05/0.7531, allocations: 32.12 kB / 0.8298 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.7532, allocations: 3.984 kB / 0.8298 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.025e-05/0.7532, allocations: 18.56 kB / 0.8298 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.357e-05/0.7533, allocations: 14.75 kB / 0.8298 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.7533, allocations: 4.656 kB / 0.8298 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002243/0.7535, allocations: 78.47 kB / 0.8299 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.7535, allocations: 14.89 kB / 0.8299 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.7535, allocations: 9.172 kB / 0.8299 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.7537, allocations: 72.55 kB / 0.83 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.7537, allocations: 0 / 0.83 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7537, allocations: 0 / 0.83 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.7537, allocations: 0 / 0.83 GB, free: 13.85 MB / 0.6075 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.0003723/0.7541, allocations: 276.6 kB / 0.8302 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.7541, allocations: 10.69 kB / 0.8303 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.7541, allocations: 37.47 kB / 0.8303 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.7543, allocations: 14.17 kB / 0.8303 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.119e-05/0.7544, allocations: 105.4 kB / 0.8304 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.7544, allocations: 6.312 kB / 0.8304 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.7544, allocations: 10.67 kB / 0.8304 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.7546, allocations: 128 kB / 0.8305 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.7546, allocations: 0 / 0.8305 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.7546, allocations: 3.938 kB / 0.8305 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.7546, allocations: 0 / 0.8305 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.29e-05/0.7547, allocations: 16.48 kB / 0.8306 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.7548, allocations: 147.1 kB / 0.8307 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.627e-05/0.7549, allocations: 49.12 kB / 0.8307 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.619e-05/0.7549, allocations: 10.33 kB / 0.8308 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.7549, allocations: 3.938 kB / 0.8308 GB, free: 13 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.755, allocations: 45.27 kB / 0.8308 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.755, allocations: 0 / 0.8308 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0006618/0.7556, allocations: 292.5 kB / 0.8311 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.7557, allocations: 55.34 kB / 0.8311 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.983e-05/0.7557, allocations: 96.64 kB / 0.8312 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.7558, allocations: 29.7 kB / 0.8313 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.45e-05/0.7558, allocations: 82.52 kB / 0.8313 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.467e-05/0.7558, allocations: 42.39 kB / 0.8314 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.7559, allocations: 32.14 kB / 0.8314 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.756, allocations: 318.8 kB / 0.8317 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.118e-05/0.7561, allocations: 19.17 kB / 0.8317 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.157e-05/0.7561, allocations: 37.33 kB / 0.8318 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.847e-05/0.7562, allocations: 57.41 kB / 0.8318 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.7562, allocations: 0 / 0.8318 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001238/0.7563, allocations: 99.55 kB / 0.8319 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.7563, allocations: 9.219 kB / 0.8319 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.7563, allocations: 0 / 0.8319 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.7563, allocations: 2.938 kB / 0.8319 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.7564, allocations: 20.28 kB / 0.8319 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.7564, allocations: 2.188 kB / 0.8319 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.428e-05/0.7565, allocations: 6.734 kB / 0.832 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.7565, allocations: 2.719 kB / 0.832 GB, free: 11.91 MB / 0.6075 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.487e-05/0.7566, allocations: 120.5 kB / 0.8321 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.7566, allocations: 6.859 kB / 0.8321 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.93e-05/0.7566, allocations: 11.91 kB / 0.8321 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.7566, allocations: 6.25 kB / 0.8321 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.7566, allocations: 0 / 0.8321 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.7566, allocations: 0 / 0.8321 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.7568, allocations: 143.6 kB / 0.8322 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7568, allocations: 3.438 kB / 0.8322 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.7569, allocations: 22.27 kB / 0.8323 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.7569, allocations: 0 / 0.8323 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.7569, allocations: 7.125 kB / 0.8323 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7569, allocations: 0 / 0.8323 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.7569, allocations: 0 / 0.8323 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.7571, allocations: 140.9 kB / 0.8324 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/0.7571, allocations: 14.16 kB / 0.8324 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.7571, allocations: 2.875 kB / 0.8324 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.687e-05/0.7572, allocations: 3.062 kB / 0.8324 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.222e-05/0.7572, allocations: 10.52 kB / 0.8324 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.7572, allocations: 2.656 kB / 0.8324 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.955e-05/0.7573, allocations: 79.22 kB / 0.8325 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.7573, allocations: 0 / 0.8325 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001875/0.7575, allocations: 21.38 kB / 0.8325 GB, free: 11.38 MB / 0.6075 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.0004524/0.7579, allocations: 0.6678 MB / 0.8332 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.758, allocations: 55.16 kB / 0.8332 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.758, allocations: 0 / 0.8332 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.005e-05/0.7581, allocations: 35.16 kB / 0.8333 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.7583, allocations: 6.688 kB / 0.8333 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.7596, allocations: 1.436 MB / 0.8347 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.255e-05/0.7597, allocations: 72.77 kB / 0.8347 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.228e-05/0.7598, allocations: 13.81 kB / 0.8348 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.7598, allocations: 20.84 kB / 0.8348 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.7598, allocations: 0 / 0.8348 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.7886, allocations: 2.203 MB / 0.8369 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.42, allocations: 6.797 kB / 0.8369 GB, free: 7.887 MB / 0.6075 GB " [Timeout remaining time 648] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.151312647853047] Failed to read output from testmodel.py, exit status != 0: 11.538220545277 11.562830903 10.804222611 Calling exit ...