Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008487/0.0008487, 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.0008612/0.0008612, 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.8883/0.8883, allocations: 177.2 MB / 202.8 MB, free: 5.746 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.7261/0.7261, allocations: 154.6 MB / 413.7 MB, free: 0.8359 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.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.618 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.473e-05, allocations: 5.891 kB / 0.618 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001933/0.001957, allocations: 1.331 MB / 0.6193 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4165/0.4185, allocations: 130.1 MB / 0.7463 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.325e-05/0.4185, allocations: 1.5 kB / 0.7463 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.762e-05/0.4186, allocations: 2.625 kB / 0.7463 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.4187, allocations: 24.19 kB / 0.7463 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.4197, allocations: 335 kB / 0.7467 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.4198, allocations: 65.53 kB / 0.7467 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.712e-05/0.4199, allocations: 11 kB / 0.7467 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.5e-05/0.4199, allocations: 45 kB / 0.7468 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.4201, allocations: 24.38 kB / 0.7468 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.4201, allocations: 3.281 kB / 0.7468 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006716/0.4207, allocations: 381.1 kB / 0.7472 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.588e-05/0.4208, allocations: 16.36 kB / 0.7472 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.264e-05/0.4209, allocations: 26.59 kB / 0.7472 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003459/0.4212, allocations: 165.6 kB / 0.7474 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4212, allocations: 1.125 kB / 0.7474 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.846e-06/0.4212, allocations: 0.7031 kB / 0.7474 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.4212, allocations: 4 kB / 0.7474 GB, free: 18.77 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.0003945/0.4216, allocations: 310.9 kB / 0.7477 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.4217, allocations: 11.97 kB / 0.7477 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.96e-05/0.4217, allocations: 41.3 kB / 0.7477 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002991/0.422, allocations: 38.45 kB / 0.7478 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.121e-05/0.422, allocations: 108.8 kB / 0.7479 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.4221, allocations: 4.297 kB / 0.7479 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.4221, allocations: 13.86 kB / 0.7479 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.4223, allocations: 216.8 kB / 0.7481 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.4223, allocations: 1.094 kB / 0.7481 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.4223, allocations: 1.062 kB / 0.7481 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.4223, allocations: 1 kB / 0.7481 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.782e-05/0.4224, allocations: 49.27 kB / 0.7481 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.4225, allocations: 149.5 kB / 0.7483 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.4227, allocations: 82.98 kB / 0.7484 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.434e-05/0.4228, allocations: 27.19 kB / 0.7484 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000168/0.4229, allocations: 34.45 kB / 0.7484 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.4229, allocations: 41.36 kB / 0.7485 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 2.375e-06/0.423, allocations: 0 / 0.7485 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.001082/0.424, allocations: 478.9 kB / 0.7489 GB, free: 17.54 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.4241, allocations: 54 kB / 0.749 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.322e-05/0.4241, allocations: 99.22 kB / 0.7491 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.4241, allocations: 31.98 kB / 0.7491 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.518e-05/0.4241, allocations: 81.67 kB / 0.7492 GB, free: 17.26 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.456e-05/0.4242, allocations: 71.89 kB / 0.7492 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.4242, allocations: 38.75 kB / 0.7493 GB, free: 17.17 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.688e-05/0.4243, allocations: 323.7 kB / 0.7496 GB, free: 16.85 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.896e-05/0.4243, allocations: 35.27 kB / 0.7496 GB, free: 16.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.952e-05/0.4244, allocations: 72.62 kB / 0.7497 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.4246, allocations: 123.3 kB / 0.7498 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4246, allocations: 1.5 kB / 0.7498 GB, free: 16.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001647/0.4247, allocations: 160.3 kB / 0.75 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.4247, allocations: 6.281 kB / 0.75 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.4247, allocations: 1.281 kB / 0.75 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.4248, allocations: 1.312 kB / 0.75 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.4249, allocations: 43.58 kB / 0.75 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4249, allocations: 3.125 kB / 0.75 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.038e-05/0.4249, allocations: 1.188 kB / 0.75 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.4249, allocations: 9.594 kB / 0.75 GB, free: 16.63 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.935e-05/0.425, allocations: 125.7 kB / 0.7501 GB, free: 16.51 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.425, allocations: 8.516 kB / 0.7501 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/0.425, allocations: 21.12 kB / 0.7502 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.425, allocations: 3.156 kB / 0.7502 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.4251, allocations: 1.797 kB / 0.7502 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4251, allocations: 4.547 kB / 0.7502 GB, free: 16.48 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.983e-05/0.4252, allocations: 159.1 kB / 0.7503 GB, free: 16.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4252, allocations: 0 / 0.7503 GB, free: 16.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.4253, allocations: 35.52 kB / 0.7504 GB, free: 16.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.4253, allocations: 5.797 kB / 0.7504 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.4253, allocations: 5.031 kB / 0.7504 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.4253, allocations: 1.75 kB / 0.7504 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4253, allocations: 3.938 kB / 0.7504 GB, free: 16.3 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.4256, allocations: 220.9 kB / 0.7506 GB, free: 16.17 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.4257, allocations: 17.17 kB / 0.7506 GB, free: 16.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.4257, allocations: 2.172 kB / 0.7506 GB, free: 16.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.4257, allocations: 9.531 kB / 0.7506 GB, free: 16.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.483e-05/0.4258, allocations: 10.03 kB / 0.7506 GB, free: 16.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.4258, allocations: 13.23 kB / 0.7506 GB, free: 16.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.82e-05/0.4258, allocations: 77.27 kB / 0.7507 GB, free: 16.08 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4258, allocations: 0 / 0.7507 GB, free: 16.08 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001712/0.426, allocations: 26 kB / 0.7507 GB, free: 16.08 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.0003862/0.4264, allocations: 0.7523 MB / 0.7515 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001788/0.4265, allocations: 101.3 kB / 0.7516 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4265, allocations: 1.375 kB / 0.7516 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.729e-05/0.4266, allocations: 50.14 kB / 0.7516 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.4268, allocations: 17.02 kB / 0.7516 GB, free: 15.37 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.428, allocations: 1.721 MB / 0.7533 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.995e-05/0.4281, allocations: 84.5 kB / 0.7534 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.43e-05/0.4282, allocations: 23.61 kB / 0.7534 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/0.4282, allocations: 24.89 kB / 0.7534 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of SimCode: time 7.82e-07/0.4282, allocations: 0 / 0.7534 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.4488, allocations: 3.126 MB / 0.7565 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.162/7.61, allocations: 2.812 kB / 0.7565 GB, free: 12.88 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Media_Examples_AirDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.4529118090868] Failed to read output from testmodel.py, exit status != 0: 7.69590828474611 7.707634716 7.284278197 Calling exit ...