Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001278/0.001278, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001468/0.001468, allocations: 215.5 kB / 22.25 MB, free: 5.262 MB / 14.72 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.404/1.404, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002524/0.002524, allocations: 297.4 kB / 312.7 MB, free: 2.602 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.241/1.241, allocations: 180.6 MB / 0.5369 GB, free: 14.61 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002889/0.002889, allocations: 112 kB / 0.7395 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1635, allocations: 95.38 MB / 0.8326 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002212/0.1657, allocations: 1.296 MB / 0.8339 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1596/0.3253, allocations: 129 MB / 0.9599 GB, free: 5.504 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.054e-05/0.3254, allocations: 8 kB / 0.9599 GB, free: 5.496 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 2.525e-05/0.3254, allocations: 7.922 kB / 0.9599 GB, free: 5.488 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 4.363e-05/0.3254, allocations: 3.938 kB / 0.9599 GB, free: 5.484 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004412/0.3259, allocations: 95.56 kB / 0.96 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 7.827e-05/0.326, allocations: 31.91 kB / 0.96 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.536e-05/0.326, allocations: 7.922 kB / 0.9601 GB, free: 5.352 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 3.993e-05/0.326, allocations: 12 kB / 0.9601 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 5.764e-05/0.3261, allocations: 15.91 kB / 0.9601 GB, free: 5.324 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.3261, allocations: 8 kB / 0.9601 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002705/0.3264, allocations: 79.78 kB / 0.9602 GB, free: 5.238 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.3264, allocations: 7.969 kB / 0.9602 GB, free: 5.23 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.866e-05/0.3264, allocations: 15.94 kB / 0.9602 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.3266, allocations: 68.03 kB / 0.9603 GB, free: 5.148 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3266, allocations: 0 / 0.9603 GB, free: 5.148 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3266, allocations: 0 / 0.9603 GB, free: 5.148 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.3266, allocations: 0 / 0.9603 GB, free: 5.148 MB / 0.7012 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.0003782/0.327, allocations: 270.3 kB / 0.9605 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.327, allocations: 9.344 kB / 0.9605 GB, free: 4.848 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.659e-05/0.327, allocations: 42.73 kB / 0.9606 GB, free: 4.797 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.3272, allocations: 12.89 kB / 0.9606 GB, free: 4.785 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.3273, allocations: 114.2 kB / 0.9607 GB, free: 4.648 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.3273, allocations: 4 kB / 0.9607 GB, free: 4.645 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.3273, allocations: 4 kB / 0.9607 GB, free: 4.641 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.3275, allocations: 134.8 kB / 0.9608 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3275, allocations: 3.938 kB / 0.9608 GB, free: 4.48 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.3275, allocations: 0 / 0.9608 GB, free: 4.48 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3275, allocations: 0 / 0.9608 GB, free: 4.48 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.513e-05/0.3276, allocations: 19.98 kB / 0.9608 GB, free: 4.461 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.3277, allocations: 136.7 kB / 0.961 GB, free: 4.285 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 9.525e-05/0.3278, allocations: 46.55 kB / 0.961 GB, free: 4.23 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.946e-05/0.3279, allocations: 12.86 kB / 0.961 GB, free: 4.215 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.754e-06/0.3279, allocations: 4 kB / 0.961 GB, free: 4.211 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3279, allocations: 38.48 kB / 0.9611 GB, free: 4.164 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.3279, allocations: 0 / 0.9611 GB, free: 4.164 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.0006863/0.3286, allocations: 301.2 kB / 0.9614 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.3286, allocations: 51.41 kB / 0.9614 GB, free: 3.773 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.622e-05/0.3287, allocations: 97.8 kB / 0.9615 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.3287, allocations: 29.7 kB / 0.9615 GB, free: 3.633 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.3288, allocations: 84.14 kB / 0.9616 GB, free: 3.547 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.3288, allocations: 39.64 kB / 0.9616 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.3289, allocations: 29.7 kB / 0.9617 GB, free: 3.473 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.329, allocations: 322.8 kB / 0.962 GB, free: 3.148 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.716e-05/0.329, allocations: 15.98 kB / 0.962 GB, free: 3.133 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.933e-05/0.3291, allocations: 34.2 kB / 0.962 GB, free: 3.094 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.292e-05/0.3292, allocations: 61.66 kB / 0.9621 GB, free: 3.027 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3292, allocations: 0 / 0.9621 GB, free: 3.027 MB / 0.7012 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001419/0.3293, allocations: 102.3 kB / 0.9622 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3293, allocations: 6.188 kB / 0.9622 GB, free: 2.918 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3293, allocations: 0 / 0.9622 GB, free: 2.918 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3294, allocations: 4 kB / 0.9622 GB, free: 2.914 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.3295, allocations: 16 kB / 0.9622 GB, free: 2.898 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.3295, allocations: 3.984 kB / 0.9622 GB, free: 2.895 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.714e-05/0.3295, allocations: 12 kB / 0.9622 GB, free: 2.883 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.3295, allocations: 4.016 kB / 0.9622 GB, free: 2.879 MB / 0.7012 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 8.518e-05/0.3296, allocations: 118.4 kB / 0.9623 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.3296, allocations: 7.953 kB / 0.9624 GB, free: 2.746 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.3297, allocations: 15.91 kB / 0.9624 GB, free: 2.734 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3297, allocations: 4 kB / 0.9624 GB, free: 2.73 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3297, allocations: 3.938 kB / 0.9624 GB, free: 2.727 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3297, allocations: 0 / 0.9624 GB, free: 2.727 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.3298, allocations: 140.7 kB / 0.9625 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3298, allocations: 0 / 0.9625 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.3299, allocations: 23.98 kB / 0.9625 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3299, allocations: 0 / 0.9625 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.3299, allocations: 0 / 0.9625 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3299, allocations: 7.984 kB / 0.9625 GB, free: 2.516 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3299, allocations: 0 / 0.9625 GB, free: 2.516 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.3301, allocations: 140.9 kB / 0.9627 GB, free: 2.359 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 4.302e-05/0.3302, allocations: 8.031 kB / 0.9627 GB, free: 2.352 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.3302, allocations: 4 kB / 0.9627 GB, free: 2.348 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.096e-05/0.3303, allocations: 7.938 kB / 0.9627 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.163e-05/0.3303, allocations: 8.062 kB / 0.9627 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.3303, allocations: 8 kB / 0.9627 GB, free: 2.324 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 4.133e-05/0.3304, allocations: 79.22 kB / 0.9628 GB, free: 2.246 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.3304, allocations: 0 / 0.9628 GB, free: 2.246 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0001928/0.3306, allocations: 16 kB / 0.9628 GB, free: 2.23 MB / 0.7012 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.0005317/0.3311, allocations: 0.6765 MB / 0.9635 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001331/0.3312, allocations: 47.97 kB / 0.9635 GB, free: 1.477 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/0.3312, allocations: 7.984 kB / 0.9635 GB, free: 1.469 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 4.141e-05/0.3313, allocations: 23.94 kB / 0.9635 GB, free: 1.445 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.3315, allocations: 4 kB / 0.9635 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.3332, allocations: 1.462 MB / 0.965 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.282e-05/0.3333, allocations: 71.33 kB / 0.965 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.547e-05/0.3333, allocations: 8.672 kB / 0.965 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.3334, allocations: 15.44 kB / 0.9651 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of SimCode: time 4.21e-07/0.3334, allocations: 0 / 0.9651 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03135/0.3647, allocations: 2.224 MB / 0.9672 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.07, allocations: 10.69 kB / 0.9672 GB, free: 13.7 MB / 0.7169 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.552159182727337] Failed to read output from testmodel.py, exit status != 0: 11.173656726256013 11.51782712 10.860184954 Calling exit ...