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.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.001057/0.001057, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001065/0.001065, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.9148/0.9148, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7362/0.7362, allocations: 154.6 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.618 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.234e-05, allocations: 6.016 kB / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001913/0.001936, allocations: 1.287 MB / 0.6193 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4638/0.4657, allocations: 129.1 MB / 0.7453 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.08e-05/0.4657, allocations: 1.469 kB / 0.7453 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.395e-05/0.4658, allocations: 5.156 kB / 0.7453 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.638e-05/0.4658, allocations: 4.688 kB / 0.7453 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000497/0.4663, allocations: 103.1 kB / 0.7454 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.4665, allocations: 36.02 kB / 0.7455 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.045e-05/0.4665, allocations: 2.906 kB / 0.7455 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.84e-05/0.4666, allocations: 23.06 kB / 0.7455 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.751e-05/0.4667, allocations: 13.55 kB / 0.7455 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.4667, allocations: 0.9062 kB / 0.7455 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002484/0.4669, allocations: 75.41 kB / 0.7456 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.467, allocations: 8.391 kB / 0.7456 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.467, allocations: 20.38 kB / 0.7456 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.4672, allocations: 71.97 kB / 0.7457 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.4672, allocations: 0 / 0.7457 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.717e-06/0.4672, allocations: 1.156 kB / 0.7457 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.4672, allocations: 0 / 0.7457 GB, free: 19.69 MB / 0.6355 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.0003848/0.4676, allocations: 271.7 kB / 0.7459 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.4676, allocations: 11.53 kB / 0.7459 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.822e-05/0.4677, allocations: 40.89 kB / 0.746 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.4678, allocations: 14.41 kB / 0.746 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.484e-05/0.4679, allocations: 112.1 kB / 0.7461 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.4679, allocations: 1.656 kB / 0.7461 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.4679, allocations: 12.48 kB / 0.7461 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.468, allocations: 129.6 kB / 0.7462 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.468, allocations: 0 / 0.7462 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.4681, allocations: 5.125 kB / 0.7462 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.4681, allocations: 1.25 kB / 0.7462 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.886e-05/0.4681, allocations: 12.44 kB / 0.7463 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.4683, allocations: 133.5 kB / 0.7464 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.4684, allocations: 49.09 kB / 0.7464 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.682e-05/0.4684, allocations: 16.53 kB / 0.7464 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.4684, allocations: 8.562 kB / 0.7464 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.4684, allocations: 37.34 kB / 0.7465 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.4684, allocations: 0 / 0.7465 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0006305/0.4691, allocations: 298.8 kB / 0.7468 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.4691, allocations: 52.78 kB / 0.7468 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.361e-05/0.4691, allocations: 93.41 kB / 0.7469 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.4691, allocations: 33.64 kB / 0.7469 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.205e-05/0.4691, allocations: 81.67 kB / 0.747 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.4692, allocations: 44.31 kB / 0.7471 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.4692, allocations: 28.56 kB / 0.7471 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.934e-05/0.4693, allocations: 318.2 kB / 0.7474 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.357e-05/0.4693, allocations: 16.56 kB / 0.7474 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.939e-05/0.4693, allocations: 40.06 kB / 0.7474 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.478e-05/0.4694, allocations: 62.62 kB / 0.7475 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4694, allocations: 1.25 kB / 0.7475 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001173/0.4695, allocations: 96.53 kB / 0.7476 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.4696, allocations: 5.281 kB / 0.7476 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4696, allocations: 1.156 kB / 0.7476 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.4696, allocations: 5.594 kB / 0.7476 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.556e-05/0.4697, allocations: 20.19 kB / 0.7476 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.4697, allocations: 1.094 kB / 0.7476 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.784e-05/0.4697, allocations: 1.906 kB / 0.7476 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.4697, allocations: 2.938 kB / 0.7476 GB, free: 17.85 MB / 0.6355 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 5.708e-05/0.4698, allocations: 127 kB / 0.7478 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.4698, allocations: 7.328 kB / 0.7478 GB, free: 17.72 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.4698, allocations: 8.625 kB / 0.7478 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4698, allocations: 2.438 kB / 0.7478 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.4698, allocations: 0.6094 kB / 0.7478 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.4698, allocations: 4.891 kB / 0.7478 GB, free: 17.71 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.234e-05/0.4699, allocations: 141.8 kB / 0.7479 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4699, allocations: 5.703 kB / 0.7479 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.33e-05/0.47, allocations: 19.88 kB / 0.7479 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.47, allocations: 1.062 kB / 0.7479 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.47, allocations: 5.844 kB / 0.7479 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.47, allocations: 0 / 0.7479 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.47, allocations: 3.281 kB / 0.7479 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.4702, allocations: 138.2 kB / 0.7481 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.4702, allocations: 6.219 kB / 0.7481 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.4702, allocations: 9.641 kB / 0.7481 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.481e-05/0.4703, allocations: 2.906 kB / 0.7481 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.4703, allocations: 10.27 kB / 0.7481 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.4703, allocations: 7.531 kB / 0.7481 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.266e-05/0.4703, allocations: 76.5 kB / 0.7482 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4703, allocations: 0 / 0.7482 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000134/0.4705, allocations: 17.45 kB / 0.7482 GB, free: 17.34 MB / 0.6355 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.0002871/0.4708, allocations: 0.6702 MB / 0.7489 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001236/0.4709, allocations: 51.59 kB / 0.7489 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.4709, allocations: 4 kB / 0.7489 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.282e-05/0.4709, allocations: 26.03 kB / 0.7489 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.4711, allocations: 9.844 kB / 0.7489 GB, free: 16.69 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008736/0.472, allocations: 1.393 MB / 0.7503 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.915e-05/0.4721, allocations: 73.47 kB / 0.7504 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.156e-05/0.4721, allocations: 10.03 kB / 0.7504 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/0.4721, allocations: 22.77 kB / 0.7504 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of SimCode: time 6.01e-07/0.4721, allocations: 0 / 0.7504 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01798/0.4901, allocations: 2.356 MB / 0.7527 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.961/7.451, allocations: 2.031 kB / 0.7527 GB, free: 14.45 MB / 0.6355 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.359053134918213] Failed to read output from testmodel.py, exit status != 0: 7.529630026780069 7.542245118 7.072879173 Calling exit ...