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.001337/0.001337, 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.001536/0.001536, allocations: 213.6 kB / 22.24 MB, free: 5.258 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.393/1.393, 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.00248/0.00248, allocations: 291.1 kB / 312.7 MB, free: 2.688 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.183/1.183, allocations: 180.6 MB / 0.5369 GB, free: 14.78 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.002871/0.002871, allocations: 98.89 kB / 0.7395 GB, free: 27.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1571, allocations: 95.38 MB / 0.8326 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002512/0.1597, allocations: 1.292 MB / 0.8339 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1621/0.3218, allocations: 129.1 MB / 0.9599 GB, free: 5.504 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.272e-05/0.3218, allocations: 0 / 0.9599 GB, free: 5.504 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 2.101e-05/0.3218, allocations: 3.984 kB / 0.9599 GB, free: 5.5 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 6.084e-05/0.3219, allocations: 3.938 kB / 0.9599 GB, free: 5.496 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005789/0.3225, allocations: 99.56 kB / 0.96 GB, free: 5.398 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.3226, allocations: 31.86 kB / 0.9601 GB, free: 5.367 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.3226, allocations: 0 / 0.9601 GB, free: 5.367 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 5.571e-05/0.3227, allocations: 19.92 kB / 0.9601 GB, free: 5.348 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 6.825e-05/0.3228, allocations: 15.97 kB / 0.9601 GB, free: 5.332 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.3228, allocations: 0 / 0.9601 GB, free: 5.332 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002971/0.3231, allocations: 79.78 kB / 0.9602 GB, free: 5.254 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 2.438e-05/0.3231, allocations: 19.91 kB / 0.9602 GB, free: 5.234 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.3231, allocations: 4 kB / 0.9602 GB, free: 5.23 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.3233, allocations: 68.05 kB / 0.9602 GB, free: 5.164 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3233, allocations: 4 kB / 0.9603 GB, free: 5.16 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3233, allocations: 0 / 0.9603 GB, free: 5.16 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.3233, allocations: 0 / 0.9603 GB, free: 5.16 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.0004641/0.3238, allocations: 274.2 kB / 0.9605 GB, free: 4.863 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.3238, allocations: 13.94 kB / 0.9605 GB, free: 4.852 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.447e-05/0.3239, allocations: 34.75 kB / 0.9606 GB, free: 4.809 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.3241, allocations: 16.88 kB / 0.9606 GB, free: 4.793 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.3242, allocations: 114.2 kB / 0.9607 GB, free: 4.656 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3242, allocations: 4 kB / 0.9607 GB, free: 4.652 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.3242, allocations: 8 kB / 0.9607 GB, free: 4.645 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.3244, allocations: 134.7 kB / 0.9608 GB, free: 4.488 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3244, allocations: 0 / 0.9608 GB, free: 4.488 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.3244, allocations: 0 / 0.9608 GB, free: 4.488 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.3244, allocations: 0 / 0.9608 GB, free: 4.488 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.49e-05/0.3245, allocations: 19.98 kB / 0.9608 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/0.3247, allocations: 136.7 kB / 0.961 GB, free: 4.293 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 9.838e-05/0.3248, allocations: 42.56 kB / 0.961 GB, free: 4.242 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.095e-05/0.3248, allocations: 12.86 kB / 0.961 GB, free: 4.227 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.3248, allocations: 0 / 0.961 GB, free: 4.227 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.3249, allocations: 46.5 kB / 0.9611 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.3249, allocations: 0 / 0.9611 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.0007219/0.3256, allocations: 297.8 kB / 0.9614 GB, free: 3.848 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.3256, allocations: 55.34 kB / 0.9614 GB, free: 3.781 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.535e-05/0.3257, allocations: 93.86 kB / 0.9615 GB, free: 3.68 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.3257, allocations: 29.7 kB / 0.9615 GB, free: 3.645 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 3.62e-05/0.3258, allocations: 80.14 kB / 0.9616 GB, free: 3.562 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.459e-05/0.3258, allocations: 39.64 kB / 0.9616 GB, free: 3.523 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-05/0.3259, allocations: 37.83 kB / 0.9617 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.326, allocations: 318.8 kB / 0.962 GB, free: 3.16 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.662e-05/0.326, allocations: 19.98 kB / 0.962 GB, free: 3.141 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.454e-05/0.3261, allocations: 35.08 kB / 0.962 GB, free: 3.102 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.3262, allocations: 57.66 kB / 0.9621 GB, free: 3.039 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3262, allocations: 3.938 kB / 0.9621 GB, free: 3.035 MB / 0.7012 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001562/0.3264, allocations: 97.61 kB / 0.9622 GB, free: 2.934 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3264, allocations: 9.703 kB / 0.9622 GB, free: 2.926 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3264, allocations: 4 kB / 0.9622 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3264, allocations: 0 / 0.9622 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.3265, allocations: 24 kB / 0.9622 GB, free: 2.898 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3265, allocations: 4 kB / 0.9622 GB, free: 2.895 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.127e-05/0.3266, allocations: 0 / 0.9622 GB, free: 2.895 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.3266, allocations: 7.938 kB / 0.9622 GB, free: 2.887 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 0.0001142/0.3267, allocations: 122.4 kB / 0.9623 GB, free: 2.758 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.3267, allocations: 3.953 kB / 0.9624 GB, free: 2.754 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/0.3267, allocations: 15.91 kB / 0.9624 GB, free: 2.742 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3267, allocations: 0 / 0.9624 GB, free: 2.742 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3267, allocations: 0 / 0.9624 GB, free: 2.742 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3267, allocations: 3.984 kB / 0.9624 GB, free: 2.738 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.3269, allocations: 144.7 kB / 0.9625 GB, free: 2.555 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3269, allocations: 4 kB / 0.9625 GB, free: 2.551 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.327, allocations: 19.98 kB / 0.9625 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.327, allocations: 4 kB / 0.9625 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.327, allocations: 4 kB / 0.9625 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.327, allocations: 0 / 0.9625 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.327, allocations: 0 / 0.9625 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.3272, allocations: 136.9 kB / 0.9627 GB, free: 2.371 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.3273, allocations: 12.03 kB / 0.9627 GB, free: 2.359 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.3273, allocations: 0 / 0.9627 GB, free: 2.359 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.997e-05/0.3274, allocations: 4 kB / 0.9627 GB, free: 2.355 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.3274, allocations: 15.98 kB / 0.9627 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.3274, allocations: 0 / 0.9627 GB, free: 2.34 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 5.268e-05/0.3275, allocations: 83.22 kB / 0.9628 GB, free: 2.258 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.3275, allocations: 0 / 0.9628 GB, free: 2.258 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0001916/0.3277, allocations: 16 kB / 0.9628 GB, free: 2.242 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.0005153/0.3282, allocations: 0.667 MB / 0.9634 GB, free: 1.543 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001294/0.3283, allocations: 48.03 kB / 0.9635 GB, free: 1.496 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3283, allocations: 4 kB / 0.9635 GB, free: 1.492 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 4.125e-05/0.3283, allocations: 31.95 kB / 0.9635 GB, free: 1.461 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.3286, allocations: 13.75 kB / 0.9635 GB, free: 1.449 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.3301, allocations: 1.467 MB / 0.965 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.232e-05/0.3302, allocations: 75.33 kB / 0.965 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.145e-05/0.3302, allocations: 8.672 kB / 0.9651 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.3303, allocations: 15.44 kB / 0.9651 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of SimCode: time 3.91e-07/0.3303, allocations: 0 / 0.9651 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03141/0.3617, allocations: 2.214 MB / 0.9672 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.96, allocations: 11.5 kB / 0.9672 GB, free: 13.71 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 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.302280981093645] Failed to read output from testmodel.py, exit status != 0: 11.059773026034236 11.419715928 10.75517238 Calling exit ...