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.000946/0.000946, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.0009719/0.0009719, allocations: 173 kB / 23.02 MB, free: 1.551 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.9447/0.9447, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.001813/0.001813, allocations: 228.9 kB / 260.2 MB, free: 12.83 MB / 250.7 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 0.7088/0.7088, allocations: 138.4 MB / 455.2 MB, free: 1.496 MB / 362.7 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: translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.961e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.00164/0.00166, allocations: 1.317 MB / 0.5564 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3303/0.3319, allocations: 142.8 MB / 0.6959 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.355e-05/0.332, allocations: 0 / 0.6959 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.577e-05/0.332, allocations: 0 / 0.6959 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.22e-05/0.332, allocations: 7.938 kB / 0.6959 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.3324, allocations: 97.73 kB / 0.696 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.433e-05/0.3324, allocations: 35.86 kB / 0.696 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.255e-05/0.3325, allocations: 3.984 kB / 0.696 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.993e-05/0.3325, allocations: 23.92 kB / 0.696 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.3326, allocations: 11.97 kB / 0.696 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.3326, allocations: 0 / 0.696 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.3328, allocations: 75.77 kB / 0.6961 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.3328, allocations: 11.98 kB / 0.6961 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.3328, allocations: 11.92 kB / 0.6961 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.3329, allocations: 75.75 kB / 0.6962 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3329, allocations: 0 / 0.6962 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3329, allocations: 4 kB / 0.6962 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3329, allocations: 0 / 0.6962 GB, free: 12.36 MB / 0.5105 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.0002881/0.3332, allocations: 382.2 kB / 0.6966 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3333, allocations: 8.75 kB / 0.6966 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.3335, allocations: 25.45 kB / 0.6966 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.916e-05/0.3335, allocations: 108.6 kB / 0.6967 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.3335, allocations: 4.375 kB / 0.6967 GB, free: 11.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.3335, allocations: 8.562 kB / 0.6967 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.3336, allocations: 127.7 kB / 0.6968 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.3336, allocations: 15.92 kB / 0.6969 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.3337, allocations: 0 / 0.6969 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.3337, allocations: 0 / 0.6969 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.407e-05/0.3337, allocations: 19.97 kB / 0.6969 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.805e-05/0.3338, allocations: 116.6 kB / 0.697 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.017e-05/0.3339, allocations: 47.05 kB / 0.697 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.245e-05/0.3339, allocations: 23.67 kB / 0.6971 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.224e-06/0.3339, allocations: 0 / 0.6971 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.3339, allocations: 41.33 kB / 0.6971 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 6.92e-07/0.3339, allocations: 0 / 0.6971 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.000505/0.3344, allocations: 303 kB / 0.6974 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.3344, allocations: 55.41 kB / 0.6974 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.832e-05/0.3345, allocations: 149.9 kB / 0.6976 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/0.3345, allocations: 25.7 kB / 0.6976 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.3e-05/0.3345, allocations: 138.9 kB / 0.6977 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.3345, allocations: 35.66 kB / 0.6978 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.3346, allocations: 35.36 kB / 0.6978 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.403e-05/0.3346, allocations: 496.1 kB / 0.6983 GB, free: 10 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.265e-05/0.3346, allocations: 19.92 kB / 0.6983 GB, free: 9.98 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.437e-05/0.3347, allocations: 43.42 kB / 0.6983 GB, free: 9.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.675e-05/0.3347, allocations: 54.89 kB / 0.6984 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3347, allocations: 0 / 0.6984 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.709e-05/0.3348, allocations: 97.48 kB / 0.6985 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.3348, allocations: 10.5 kB / 0.6985 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3348, allocations: 0 / 0.6985 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3348, allocations: 0 / 0.6985 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.851e-05/0.3349, allocations: 23.98 kB / 0.6985 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3349, allocations: 0 / 0.6985 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.289e-05/0.335, allocations: 4 kB / 0.6985 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.335, allocations: 4 kB / 0.6985 GB, free: 9.73 MB / 0.5105 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 4.189e-05/0.335, allocations: 168.5 kB / 0.6987 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.335, allocations: 7.938 kB / 0.6987 GB, free: 9.547 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.335, allocations: 11.97 kB / 0.6987 GB, free: 9.539 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3351, allocations: 4 kB / 0.6987 GB, free: 9.535 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.3351, allocations: 0 / 0.6987 GB, free: 9.535 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3351, allocations: 0 / 0.6987 GB, free: 9.535 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.387e-05/0.3351, allocations: 124.6 kB / 0.6988 GB, free: 9.379 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3351, allocations: 0.6875 kB / 0.6988 GB, free: 9.379 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.904e-05/0.3352, allocations: 19.98 kB / 0.6988 GB, free: 9.359 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3352, allocations: 7.938 kB / 0.6989 GB, free: 9.352 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.3352, allocations: 8 kB / 0.6989 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3352, allocations: 3.438 kB / 0.6989 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3352, allocations: 0 / 0.6989 GB, free: 9.344 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.3353, allocations: 133.5 kB / 0.699 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.3354, allocations: 15.92 kB / 0.699 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.3354, allocations: 4 kB / 0.699 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.014e-05/0.3354, allocations: 0 / 0.699 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/0.3355, allocations: 11.98 kB / 0.699 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-06/0.3355, allocations: 0 / 0.699 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.162e-05/0.3355, allocations: 123.2 kB / 0.6991 GB, free: 9.039 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3355, allocations: 4.094 kB / 0.6991 GB, free: 9.035 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001851/0.3357, allocations: 16 kB / 0.6992 GB, free: 9.02 MB / 0.5105 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 6.459e-05/0.3357, allocations: 95.25 kB / 0.6992 GB, free: 8.918 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.956e-05/0.3358, allocations: 63.53 kB / 0.6993 GB, free: 8.852 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3358, allocations: 0 / 0.6993 GB, free: 8.852 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.719e-05/0.3358, allocations: 36.38 kB / 0.6993 GB, free: 8.812 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.336, allocations: 17.78 kB / 0.6994 GB, free: 8.797 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005307/0.3366, allocations: 272.8 kB / 0.6996 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.201e-05/0.3366, allocations: 61.44 kB / 0.6997 GB, free: 8.43 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.341e-05/0.3366, allocations: 12.72 kB / 0.6997 GB, free: 8.418 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.469e-05/0.3367, allocations: 16.5 kB / 0.6997 GB, free: 8.402 MB / 0.5105 GB Notification: Performance of SimCode: time 5.81e-07/0.3367, allocations: 0 / 0.6997 GB, free: 8.402 MB / 0.5105 GB Notification: Performance of Templates: time 0.002563/0.3392, allocations: 0.8866 MB / 0.7006 GB, free: 7.59 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8466558512300253]