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.0008837/0.0008837, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001133/0.001133, allocations: 217.7 kB / 22.26 MB, free: 3.703 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 1.071/1.071, allocations: 230.6 MB / 256 MB, free: 9.801 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.7927/0.7927, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.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: 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.000947/0.000947, allocations: 62.97 kB / 0.7182 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4981/0.499, allocations: 102 MB / 0.8178 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirDerivativeCheck): time 0.001794/0.5008, allocations: 1.365 MB / 0.8192 GB, free: 316 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1325/0.6334, allocations: 151.4 MB / 0.967 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.6334, allocations: 0 / 0.967 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.67e-05/0.6335, allocations: 7.922 kB / 0.967 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.6336, allocations: 7.938 kB / 0.9671 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009843/0.6346, allocations: 345.7 kB / 0.9674 GB, free: 12.37 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.6347, allocations: 71.75 kB / 0.9674 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.239e-05/0.6348, allocations: 7.656 kB / 0.9675 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.429e-05/0.6348, allocations: 31.91 kB / 0.9675 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.6349, allocations: 35.89 kB / 0.9675 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.6349, allocations: 4 kB / 0.9675 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007251/0.6356, allocations: 438.7 kB / 0.9679 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.053e-05/0.6357, allocations: 23.92 kB / 0.968 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/0.6357, allocations: 23.92 kB / 0.968 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003009/0.636, allocations: 165.9 kB / 0.9681 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6361, allocations: 0 / 0.9681 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6361, allocations: 0 / 0.9681 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.6361, allocations: 3.938 kB / 0.9682 GB, free: 11.58 MB / 0.7448 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.0004062/0.6365, allocations: 306 kB / 0.9684 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.6365, allocations: 12.03 kB / 0.9685 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.091e-05/0.6365, allocations: 38.73 kB / 0.9685 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002795/0.6368, allocations: 44.8 kB / 0.9685 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.802e-05/0.6369, allocations: 114.2 kB / 0.9686 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.6369, allocations: 4 kB / 0.9686 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.6369, allocations: 15.89 kB / 0.9687 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.6371, allocations: 77.64 kB / 0.9687 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.6371, allocations: 4 kB / 0.9687 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.6371, allocations: 0 / 0.9687 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.6371, allocations: 0 / 0.9687 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.651e-05/0.6372, allocations: 47.95 kB / 0.9688 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.6373, allocations: 156.7 kB / 0.9689 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.6375, allocations: 86.62 kB / 0.969 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.6375, allocations: 24.84 kB / 0.969 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001459/0.6377, allocations: 24.31 kB / 0.9691 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.6377, allocations: 38.56 kB / 0.9691 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.6377, allocations: 3.938 kB / 0.9691 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0009243/0.6386, allocations: 486.6 kB / 0.9696 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.6387, allocations: 55.41 kB / 0.9696 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.167e-05/0.6387, allocations: 97.8 kB / 0.9697 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.6387, allocations: 33.69 kB / 0.9697 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.259e-05/0.6387, allocations: 84.52 kB / 0.9698 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/0.6388, allocations: 75.38 kB / 0.9699 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.6388, allocations: 37.7 kB / 0.9699 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.206e-05/0.6389, allocations: 322.8 kB / 0.9702 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.329e-05/0.639, allocations: 31.98 kB / 0.9703 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.33e-05/0.639, allocations: 71.53 kB / 0.9703 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.6391, allocations: 115.3 kB / 0.9705 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6391, allocations: 0 / 0.9705 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001593/0.6393, allocations: 157.5 kB / 0.9706 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.6393, allocations: 8 kB / 0.9706 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.6393, allocations: 0 / 0.9706 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.6393, allocations: 4 kB / 0.9706 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.6395, allocations: 43.92 kB / 0.9707 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.6395, allocations: 7.938 kB / 0.9707 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.916e-05/0.6395, allocations: 3.984 kB / 0.9707 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.6395, allocations: 12 kB / 0.9707 GB, free: 8.75 MB / 0.7448 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 7.38e-05/0.6396, allocations: 121.8 kB / 0.9708 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.6396, allocations: 7.953 kB / 0.9708 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.785e-05/0.6396, allocations: 16.47 kB / 0.9708 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.6396, allocations: 7.938 kB / 0.9708 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.6396, allocations: 7.938 kB / 0.9708 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6396, allocations: 0 / 0.9708 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.6398, allocations: 160.7 kB / 0.971 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.6398, allocations: 0 / 0.971 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.6399, allocations: 47.91 kB / 0.971 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.6399, allocations: 0 / 0.971 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.6399, allocations: 0 / 0.971 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.6399, allocations: 4 kB / 0.971 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6399, allocations: 3.938 kB / 0.971 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.6401, allocations: 210.1 kB / 0.9712 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.6402, allocations: 7.984 kB / 0.9712 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.6402, allocations: 8.062 kB / 0.9713 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.283e-05/0.6403, allocations: 11.92 kB / 0.9713 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.6403, allocations: 23.86 kB / 0.9713 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.6403, allocations: 4.25 kB / 0.9713 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.69e-05/0.6403, allocations: 83.27 kB / 0.9714 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.6403, allocations: 0 / 0.9714 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001525/0.6405, allocations: 32.09 kB / 0.9714 GB, free: 7.938 MB / 0.7448 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.0004526/0.6409, allocations: 0.7424 MB / 0.9721 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001693/0.6411, allocations: 99.89 kB / 0.9722 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6411, allocations: 0 / 0.9722 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.71e-05/0.6411, allocations: 57.59 kB / 0.9723 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.6414, allocations: 22.11 kB / 0.9723 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.6428, allocations: 1.815 MB / 0.9741 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.643, allocations: 0.7047 MB / 0.9748 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.099e-05/0.6431, allocations: 20.64 kB / 0.9748 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.6431, allocations: 27.42 kB / 0.9748 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of SimCode: time 8.92e-07/0.6431, allocations: 0 / 0.9748 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02032/0.6635, allocations: 2.654 MB / 0.9774 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.978/7.641, allocations: 7.016 kB / 0.9774 GB, free: 1.75 MB / 0.7448 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.811100150924176] Failed to read output from testmodel.py, exit status != 0: 7.719516778131947 7.732560064 7.09353739 Calling exit ...