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.0008376/0.0008376, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0009833/0.0009833, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 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.9857/0.9857, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.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.8299/0.8299, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [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: 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.0009921/0.0009921, allocations: 73.7 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6116/0.6126, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001703/0.6143, allocations: 1.292 MB / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1436/0.7579, allocations: 129.1 MB / 0.9451 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.995e-05/0.758, allocations: 0 / 0.9451 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.363e-05/0.758, allocations: 3.984 kB / 0.9451 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.855e-05/0.7581, allocations: 11.92 kB / 0.9451 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000535/0.7586, allocations: 91.58 kB / 0.9452 GB, free: 2.789 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.7587, allocations: 35.91 kB / 0.9452 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.888e-05/0.7588, allocations: 0 / 0.9452 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.782e-05/0.7589, allocations: 15.92 kB / 0.9452 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.231e-05/0.7589, allocations: 23.91 kB / 0.9452 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.759, allocations: 0 / 0.9452 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002695/0.7592, allocations: 75.78 kB / 0.9453 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.7593, allocations: 15.97 kB / 0.9453 GB, free: 2.625 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.252e-05/0.7593, allocations: 15.94 kB / 0.9453 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.7595, allocations: 58 kB / 0.9454 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.7595, allocations: 7.938 kB / 0.9454 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.898e-06/0.7595, allocations: 0 / 0.9454 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.7595, allocations: 0 / 0.9454 GB, free: 2.551 MB / 0.7136 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.000501/0.76, allocations: 274.1 kB / 0.9457 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/0.7601, allocations: 12.03 kB / 0.9457 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.285e-05/0.7601, allocations: 34.75 kB / 0.9457 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.7603, allocations: 12.92 kB / 0.9457 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.698e-05/0.7604, allocations: 114.3 kB / 0.9458 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.7604, allocations: 4 kB / 0.9458 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.7604, allocations: 7.953 kB / 0.9458 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.7606, allocations: 134.7 kB / 0.946 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.7606, allocations: 0 / 0.946 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.7606, allocations: 0 / 0.946 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.7607, allocations: 0 / 0.946 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.344e-05/0.7607, allocations: 15.98 kB / 0.946 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001861/0.7609, allocations: 144.6 kB / 0.9461 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.642e-05/0.761, allocations: 42.56 kB / 0.9462 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.972e-05/0.761, allocations: 24.86 kB / 0.9462 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.761, allocations: 3.938 kB / 0.9462 GB, free: 1.602 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.7611, allocations: 34.56 kB / 0.9462 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.7611, allocations: 0 / 0.9462 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0007725/0.7618, allocations: 297.2 kB / 0.9465 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.7619, allocations: 51.41 kB / 0.9466 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.317e-05/0.762, allocations: 97.86 kB / 0.9466 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.762, allocations: 25.7 kB / 0.9467 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.743e-05/0.762, allocations: 84.27 kB / 0.9468 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.865e-05/0.762, allocations: 43.64 kB / 0.9468 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.7621, allocations: 33.7 kB / 0.9468 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.7622, allocations: 314.8 kB / 0.9471 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.927e-05/0.7622, allocations: 19.98 kB / 0.9471 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.472e-05/0.7623, allocations: 37.64 kB / 0.9472 GB, free: 500 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.268e-05/0.7623, allocations: 58.25 kB / 0.9472 GB, free: 436 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.7623, allocations: 4 kB / 0.9472 GB, free: 432 kB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001128/0.7624, allocations: 97.61 kB / 0.9473 GB, free: 328 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.7625, allocations: 7.984 kB / 0.9473 GB, free: 320 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.7625, allocations: 4 kB / 0.9473 GB, free: 316 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.7625, allocations: 4 kB / 0.9474 GB, free: 312 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.7626, allocations: 16 kB / 0.9474 GB, free: 296 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.7626, allocations: 4 kB / 0.9474 GB, free: 292 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.939e-05/0.7626, allocations: 0 / 0.9474 GB, free: 292 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.7626, allocations: 11.94 kB / 0.9474 GB, free: 280 kB / 0.7136 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 9.203e-05/0.7627, allocations: 121.8 kB / 0.9475 GB, free: 148 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.7627, allocations: 3.953 kB / 0.9475 GB, free: 144 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.7628, allocations: 11.91 kB / 0.9475 GB, free: 132 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.7628, allocations: 0 / 0.9475 GB, free: 132 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.7628, allocations: 7.922 kB / 0.9475 GB, free: 124 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.7628, allocations: 4 kB / 0.9475 GB, free: 120 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.7629, allocations: 148.6 kB / 0.9477 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.7629, allocations: 0 / 0.9477 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.897e-05/0.763, allocations: 23.98 kB / 0.9477 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.763, allocations: 4 kB / 0.9477 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.763, allocations: 0 / 0.9477 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.763, allocations: 0 / 0.9477 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.763, allocations: 0 / 0.9477 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.7632, allocations: 138 kB / 0.9478 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.7633, allocations: 8.031 kB / 0.9478 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.7633, allocations: 0 / 0.9478 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.422e-05/0.7633, allocations: 12 kB / 0.9478 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.7634, allocations: 7.984 kB / 0.9479 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.7634, allocations: 3.938 kB / 0.9479 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.486e-05/0.7634, allocations: 83.22 kB / 0.9479 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.7634, allocations: 0 / 0.9479 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001415/0.7635, allocations: 16 kB / 0.9479 GB, free: 15.62 MB / 0.7292 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.0003831/0.7639, allocations: 0.6687 MB / 0.9486 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001292/0.764, allocations: 51.91 kB / 0.9487 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.764, allocations: 4.094 kB / 0.9487 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.772e-05/0.7641, allocations: 23.98 kB / 0.9487 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.7643, allocations: 8 kB / 0.9487 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.7655, allocations: 1.45 MB / 0.9501 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.375e-05/0.7656, allocations: 71.33 kB / 0.9502 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.742e-05/0.7657, allocations: 8.672 kB / 0.9502 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.7657, allocations: 15.44 kB / 0.9502 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of SimCode: time 9.92e-07/0.7657, allocations: 0 / 0.9502 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/0.7839, allocations: 2.207 MB / 0.9523 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.581/7.365, allocations: 10.03 kB / 0.9524 GB, free: 11.09 MB / 0.7292 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.539913825225085] Failed to read output from testmodel.py, exit status != 0: 7.439629775937647 7.451288983 6.689447382 Calling exit ...