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.001364/0.001364, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001426/0.001426, allocations: 218.2 kB / 23.03 MB, free: 4.945 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.411/1.411, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.002488/0.002488, allocations: 291.2 kB / 313.5 MB, free: 2.617 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.196/1.196, allocations: 180.6 MB / 0.5377 GB, free: 14.57 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="cs",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.002791/0.002791, allocations: 94.88 kB / 0.7402 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1727, allocations: 95.39 MB / 0.8334 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002467/0.1752, allocations: 1.282 MB / 0.8346 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1525/0.3277, allocations: 129 MB / 0.9606 GB, free: 5.609 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.3278, allocations: 0 / 0.9606 GB, free: 5.609 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 2.299e-05/0.3278, allocations: 7.984 kB / 0.9606 GB, free: 5.602 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 3.977e-05/0.3278, allocations: 7.922 kB / 0.9606 GB, free: 5.594 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.3282, allocations: 91.58 kB / 0.9607 GB, free: 5.504 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 9.056e-05/0.3283, allocations: 39.8 kB / 0.9607 GB, free: 5.465 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.471e-05/0.3283, allocations: 3.984 kB / 0.9607 GB, free: 5.461 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 3.863e-05/0.3284, allocations: 15.98 kB / 0.9607 GB, free: 5.445 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 5.549e-05/0.3284, allocations: 15.92 kB / 0.9608 GB, free: 5.43 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.3285, allocations: 4 kB / 0.9608 GB, free: 5.426 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002212/0.3287, allocations: 75.83 kB / 0.9608 GB, free: 5.352 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.3287, allocations: 7.984 kB / 0.9608 GB, free: 5.344 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.3287, allocations: 19.92 kB / 0.9609 GB, free: 5.324 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.3289, allocations: 64.05 kB / 0.9609 GB, free: 5.262 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3289, allocations: 0 / 0.9609 GB, free: 5.262 MB / 0.7012 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3289, allocations: 0 / 0.9609 GB, free: 5.262 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.3289, allocations: 4 kB / 0.9609 GB, free: 5.258 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.0003601/0.3292, allocations: 270.3 kB / 0.9612 GB, free: 4.965 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.3293, allocations: 9.344 kB / 0.9612 GB, free: 4.957 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.194e-05/0.3293, allocations: 4.188 kB / 0.9612 GB, free: 4.953 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.03e-05/0.3293, allocations: 34.75 kB / 0.9612 GB, free: 4.91 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.3295, allocations: 20.81 kB / 0.9613 GB, free: 4.891 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.864e-05/0.3296, allocations: 114 kB / 0.9614 GB, free: 4.754 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.3296, allocations: 4 kB / 0.9614 GB, free: 4.75 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.3296, allocations: 4 kB / 0.9614 GB, free: 4.746 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.3298, allocations: 134.8 kB / 0.9615 GB, free: 4.59 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.3298, allocations: 0 / 0.9615 GB, free: 4.59 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.3298, allocations: 0 / 0.9615 GB, free: 4.59 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.3298, allocations: 0 / 0.9615 GB, free: 4.59 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.641e-05/0.3298, allocations: 19.98 kB / 0.9615 GB, free: 4.57 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.33, allocations: 132.7 kB / 0.9616 GB, free: 4.398 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 9.574e-05/0.3301, allocations: 54.56 kB / 0.9617 GB, free: 4.336 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.634e-05/0.3301, allocations: 16.8 kB / 0.9617 GB, free: 4.316 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.414e-06/0.3301, allocations: 0 / 0.9617 GB, free: 4.316 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.3301, allocations: 38.5 kB / 0.9617 GB, free: 4.27 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 7.81e-07/0.3301, allocations: 4 kB / 0.9618 GB, free: 4.266 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.0006535/0.3308, allocations: 300.9 kB / 0.962 GB, free: 3.938 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.3308, allocations: 51.41 kB / 0.9621 GB, free: 3.875 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.396e-05/0.3309, allocations: 97.86 kB / 0.9622 GB, free: 3.77 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.3309, allocations: 25.7 kB / 0.9622 GB, free: 3.738 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.3309, allocations: 80.14 kB / 0.9623 GB, free: 3.656 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.466e-05/0.331, allocations: 47.78 kB / 0.9623 GB, free: 3.609 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.331, allocations: 33.7 kB / 0.9624 GB, free: 3.57 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3312, allocations: 314.9 kB / 0.9627 GB, free: 3.254 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.911e-05/0.3312, allocations: 23.98 kB / 0.9627 GB, free: 3.23 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.5e-05/0.3312, allocations: 38.45 kB / 0.9627 GB, free: 3.188 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.349e-05/0.3313, allocations: 58.25 kB / 0.9628 GB, free: 3.125 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3313, allocations: 0 / 0.9628 GB, free: 3.125 MB / 0.7012 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001301/0.3315, allocations: 93.61 kB / 0.9629 GB, free: 3.027 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.3315, allocations: 14.33 kB / 0.9629 GB, free: 3.016 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.3315, allocations: 0 / 0.9629 GB, free: 3.016 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.3315, allocations: 3.938 kB / 0.9629 GB, free: 3.012 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.3316, allocations: 23.94 kB / 0.9629 GB, free: 2.988 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.3316, allocations: 0 / 0.9629 GB, free: 2.988 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.272e-05/0.3316, allocations: 11.94 kB / 0.9629 GB, free: 2.977 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.3316, allocations: 4 kB / 0.9629 GB, free: 2.973 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.099e-05/0.3317, allocations: 118.5 kB / 0.963 GB, free: 2.848 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.3317, allocations: 7.953 kB / 0.963 GB, free: 2.84 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.3318, allocations: 11.91 kB / 0.9631 GB, free: 2.832 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3318, allocations: 0 / 0.9631 GB, free: 2.832 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.3318, allocations: 0 / 0.9631 GB, free: 2.832 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3318, allocations: 3.938 kB / 0.9631 GB, free: 2.828 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.3319, allocations: 136.8 kB / 0.9632 GB, free: 2.652 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3319, allocations: 0 / 0.9632 GB, free: 2.652 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.332, allocations: 31.92 kB / 0.9632 GB, free: 2.621 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.332, allocations: 4 kB / 0.9632 GB, free: 2.617 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.332, allocations: 0 / 0.9632 GB, free: 2.617 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.332, allocations: 0 / 0.9632 GB, free: 2.617 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.332, allocations: 0 / 0.9632 GB, free: 2.617 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.3322, allocations: 136.9 kB / 0.9634 GB, free: 2.465 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.3323, allocations: 8.031 kB / 0.9634 GB, free: 2.457 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.3323, allocations: 0 / 0.9634 GB, free: 2.457 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.3e-05/0.3324, allocations: 8 kB / 0.9634 GB, free: 2.449 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.167e-05/0.3324, allocations: 7.984 kB / 0.9634 GB, free: 2.441 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.3324, allocations: 3.938 kB / 0.9634 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 3.503e-05/0.3324, allocations: 83.28 kB / 0.9635 GB, free: 2.355 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3324, allocations: 3.938 kB / 0.9635 GB, free: 2.352 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0001882/0.3326, allocations: 19.94 kB / 0.9635 GB, free: 2.332 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.0004466/0.3331, allocations: 0.669 MB / 0.9641 GB, free: 1.633 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.000128/0.3332, allocations: 55.95 kB / 0.9642 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3332, allocations: 0 / 0.9642 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 3.986e-05/0.3332, allocations: 27.92 kB / 0.9642 GB, free: 1.551 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002032/0.3334, allocations: 17.14 kB / 0.9642 GB, free: 1.539 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.3348, allocations: 1.449 MB / 0.9656 GB, free: 4 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.268e-05/0.3349, allocations: 75.33 kB / 0.9657 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.98e-05/0.3349, allocations: 8.672 kB / 0.9657 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.335, allocations: 15.44 kB / 0.9657 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.335, allocations: 0 / 0.9657 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.3567, allocations: 1.918 MB / 0.9676 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.92, allocations: 11.03 kB / 0.9676 GB, free: 14.12 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.046895954059437] Failed to read output from testmodel.py, exit status != 0: 11.078331332071684 11.104078671 10.770273634 Calling exit ...