Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.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.0008769/0.0008769, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008981/0.0008981, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9033/0.9033, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6891/0.6891, allocations: 154.6 MB / 413.8 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.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.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.154e-05/1.293e-05, allocations: 6.531 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001413/0.001426, allocations: 1.333 MB / 0.6194 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4473/0.4487, allocations: 130.1 MB / 0.7464 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.103e-05/0.4487, allocations: 0 / 0.7464 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/0.4488, allocations: 1.922 kB / 0.7464 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.4489, allocations: 22.45 kB / 0.7464 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00075/0.4496, allocations: 334.2 kB / 0.7467 GB, free: 18.96 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.617e-05/0.4497, allocations: 71.95 kB / 0.7468 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.4498, allocations: 8.156 kB / 0.7468 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.021e-05/0.4498, allocations: 40.66 kB / 0.7468 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.417e-05/0.4499, allocations: 28.36 kB / 0.7469 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.4499, allocations: 3.531 kB / 0.7469 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005187/0.4505, allocations: 377.2 kB / 0.7472 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.763e-05/0.4505, allocations: 20.84 kB / 0.7473 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.504e-05/0.4505, allocations: 22.22 kB / 0.7473 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.4508, allocations: 170.4 kB / 0.7474 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4508, allocations: 3.938 kB / 0.7474 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.294e-06/0.4508, allocations: 0.5625 kB / 0.7474 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.4508, allocations: 0 / 0.7474 GB, free: 18.68 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003742/0.4512, allocations: 311.7 kB / 0.7477 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4512, allocations: 13 kB / 0.7477 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.355e-05/0.4513, allocations: 38.66 kB / 0.7478 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002731/0.4515, allocations: 32.69 kB / 0.7478 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.822e-05/0.4516, allocations: 110.5 kB / 0.7479 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.4516, allocations: 6.75 kB / 0.7479 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.4516, allocations: 14.48 kB / 0.7479 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.4518, allocations: 208.8 kB / 0.7481 GB, free: 18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.4518, allocations: 1 kB / 0.7481 GB, free: 18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.4518, allocations: 1.703 kB / 0.7481 GB, free: 18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4518, allocations: 1.031 kB / 0.7481 GB, free: 18 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.761e-05/0.4519, allocations: 56.12 kB / 0.7482 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.4521, allocations: 154.7 kB / 0.7483 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.4522, allocations: 79.41 kB / 0.7484 GB, free: 17.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.245e-05/0.4523, allocations: 30.69 kB / 0.7485 GB, free: 17.76 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.4524, allocations: 31.05 kB / 0.7485 GB, free: 17.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.4524, allocations: 38.92 kB / 0.7485 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/0.4524, allocations: 0 / 0.7485 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.0008872/0.4533, allocations: 476.7 kB / 0.749 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.178e-05/0.4533, allocations: 58.5 kB / 0.749 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.541e-05/0.4534, allocations: 98.77 kB / 0.7491 GB, free: 17.28 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.4534, allocations: 34.39 kB / 0.7492 GB, free: 17.24 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.097e-05/0.4534, allocations: 81.67 kB / 0.7492 GB, free: 17.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.4534, allocations: 72.59 kB / 0.7493 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.4535, allocations: 43.31 kB / 0.7493 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.379e-05/0.4535, allocations: 319.5 kB / 0.7496 GB, free: 16.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.496e-05/0.4536, allocations: 38.67 kB / 0.7497 GB, free: 16.74 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.379e-05/0.4536, allocations: 74.67 kB / 0.7498 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.4537, allocations: 114.5 kB / 0.7499 GB, free: 16.63 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4537, allocations: 1.344 kB / 0.7499 GB, free: 16.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001545/0.4539, allocations: 156.1 kB / 0.75 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.4539, allocations: 5.5 kB / 0.75 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.4539, allocations: 2.406 kB / 0.75 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.4539, allocations: 2.75 kB / 0.75 GB, free: 16.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.454, allocations: 42.12 kB / 0.7501 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.454, allocations: 5.953 kB / 0.7501 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.809e-05/0.4541, allocations: 6.078 kB / 0.7501 GB, free: 16.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.4541, allocations: 5.5 kB / 0.7501 GB, free: 16.54 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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.247e-05/0.4541, allocations: 128.5 kB / 0.7502 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.4541, allocations: 8.609 kB / 0.7502 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.394e-05/0.4542, allocations: 18.61 kB / 0.7502 GB, free: 16.39 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.4542, allocations: 3 kB / 0.7502 GB, free: 16.39 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.4542, allocations: 0 / 0.7502 GB, free: 16.39 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4542, allocations: 1.312 kB / 0.7502 GB, free: 16.39 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.866e-05/0.4543, allocations: 166.2 kB / 0.7504 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4543, allocations: 0.75 kB / 0.7504 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.4544, allocations: 36.06 kB / 0.7504 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4544, allocations: 0.9062 kB / 0.7504 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.4544, allocations: 5.578 kB / 0.7504 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4544, allocations: 0.875 kB / 0.7504 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.4544, allocations: 4.375 kB / 0.7504 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.4546, allocations: 214.2 kB / 0.7506 GB, free: 16.09 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.4546, allocations: 13.75 kB / 0.7507 GB, free: 16.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.4547, allocations: 5.688 kB / 0.7507 GB, free: 16.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.857e-05/0.4547, allocations: 13.83 kB / 0.7507 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.4547, allocations: 14.23 kB / 0.7507 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.4548, allocations: 7.953 kB / 0.7507 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.463e-05/0.4548, allocations: 82.23 kB / 0.7508 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.1e-08/0.4548, allocations: 0 / 0.7508 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001459/0.4549, allocations: 25.56 kB / 0.7508 GB, free: 15.99 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0003186/0.4552, allocations: 0.748 MB / 0.7515 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001485/0.4554, allocations: 105.1 kB / 0.7516 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4554, allocations: 1.125 kB / 0.7516 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.011e-05/0.4554, allocations: 49.36 kB / 0.7517 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.4556, allocations: 20.34 kB / 0.7517 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.4567, allocations: 1.712 MB / 0.7534 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.916e-05/0.4567, allocations: 83.94 kB / 0.7535 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.191e-05/0.4568, allocations: 27.33 kB / 0.7535 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.4568, allocations: 22.34 kB / 0.7535 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/0.4568, allocations: 0 / 0.7535 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.4741, allocations: 3.105 MB / 0.7565 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.039/7.513, allocations: 12.83 kB / 0.7565 GB, free: 12.8 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.AirDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Examples_AirDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.347325720824301] Failed to read output from testmodel.py, exit status != 0: 7.590710474178195 7.601706644 7.149006822 Calling exit ...