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.0008759/0.0008759, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0009427/0.0009427, allocations: 169 kB / 23.27 MB, free: 1.223 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.9361/0.9361, allocations: 177.2 MB / 203.7 MB, free: 5.516 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.002505/0.002505, allocations: 245.4 kB / 260.5 MB, free: 12.68 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.7482/0.7482, allocations: 138.4 MB / 455.5 MB, free: 1.398 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 2.134e-06/2.134e-06, allocations: 0 / 0.5556 GB, free: 284 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.809e-05, allocations: 2.312 kB / 0.5556 GB, free: 280 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002044/0.002072, allocations: 1.325 MB / 0.5569 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3213/0.3234, allocations: 140.1 MB / 0.6937 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.978e-05/0.3234, allocations: 4 kB / 0.6937 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.814e-05/0.3234, allocations: 3.938 kB / 0.6937 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.575e-05/0.3235, allocations: 3.938 kB / 0.6937 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004859/0.324, allocations: 98.27 kB / 0.6938 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.521e-05/0.324, allocations: 36.22 kB / 0.6938 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.325e-05/0.3241, allocations: 3 kB / 0.6938 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.37e-05/0.3241, allocations: 19.83 kB / 0.6939 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.315e-05/0.3242, allocations: 14.25 kB / 0.6939 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.3242, allocations: 2.219 kB / 0.6939 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.3244, allocations: 83.53 kB / 0.6939 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.021e-05/0.3244, allocations: 0 / 0.6939 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.3244, allocations: 20.42 kB / 0.694 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.3246, allocations: 68.88 kB / 0.694 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3246, allocations: 0 / 0.694 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3246, allocations: 2.312 kB / 0.694 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.3246, allocations: 0 / 0.694 GB, free: 13.88 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.0002859/0.3249, allocations: 386.2 kB / 0.6944 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3249, allocations: 8.25 kB / 0.6944 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001386/0.325, allocations: 36.69 kB / 0.6944 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.042e-05/0.3251, allocations: 104.6 kB / 0.6945 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.3251, allocations: 7.125 kB / 0.6946 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.3251, allocations: 6.219 kB / 0.6946 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.86e-05/0.3252, allocations: 132.2 kB / 0.6947 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.3252, allocations: 0 / 0.6947 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-06/0.3252, allocations: 0 / 0.6947 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.3252, allocations: 2.375 kB / 0.6947 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.198e-05/0.3252, allocations: 13.83 kB / 0.6947 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.804e-05/0.3253, allocations: 99 kB / 0.6948 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.317e-05/0.3254, allocations: 58 kB / 0.6948 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.482e-05/0.3254, allocations: 17.45 kB / 0.6949 GB, free: 13 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.224e-06/0.3254, allocations: 4 kB / 0.6949 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.3254, allocations: 35.61 kB / 0.6949 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.3254, allocations: 0 / 0.6949 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0004332/0.3259, allocations: 291.5 kB / 0.6952 GB, free: 12.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.487e-05/0.3259, allocations: 51.41 kB / 0.6952 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.086e-05/0.3259, allocations: 152.7 kB / 0.6954 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.186e-06/0.3259, allocations: 33.83 kB / 0.6954 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.754e-05/0.3259, allocations: 134.8 kB / 0.6955 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.326, allocations: 40.86 kB / 0.6956 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.326, allocations: 35.75 kB / 0.6956 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.965e-05/0.326, allocations: 499 kB / 0.6961 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.208e-05/0.3261, allocations: 9.578 kB / 0.6961 GB, free: 11.74 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.424e-05/0.3261, allocations: 34.05 kB / 0.6961 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.069e-05/0.3261, allocations: 53.78 kB / 0.6962 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3261, allocations: 0 / 0.6962 GB, free: 11.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14) (initialization): time 7.081e-05/0.3262, allocations: 89.31 kB / 0.6963 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.3262, allocations: 5.062 kB / 0.6963 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3262, allocations: 4 kB / 0.6963 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3262, allocations: 3.438 kB / 0.6963 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.511e-05/0.3263, allocations: 22.12 kB / 0.6963 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.3263, allocations: 6.891 kB / 0.6963 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.564e-05/0.3263, allocations: 0 / 0.6963 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.3263, allocations: 2.562 kB / 0.6963 GB, free: 11.61 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.474e-05/0.3264, allocations: 163.4 kB / 0.6965 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.3264, allocations: 16.98 kB / 0.6965 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.3264, allocations: 7.969 kB / 0.6965 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.3264, allocations: 3.25 kB / 0.6965 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.3264, allocations: 4 kB / 0.6965 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3264, allocations: 0 / 0.6965 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.699e-05/0.3265, allocations: 106.9 kB / 0.6966 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3265, allocations: 0 / 0.6966 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.745e-05/0.3265, allocations: 22.97 kB / 0.6966 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3265, allocations: 0 / 0.6966 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.3265, allocations: 2.812 kB / 0.6966 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3265, allocations: 9.047 kB / 0.6966 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3265, allocations: 0 / 0.6966 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.3267, allocations: 126.6 kB / 0.6967 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.94e-05/0.3267, allocations: 6.781 kB / 0.6968 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.3267, allocations: 10.64 kB / 0.6968 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.244e-05/0.3267, allocations: 6.469 kB / 0.6968 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.3267, allocations: 6.703 kB / 0.6968 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.3267, allocations: 4 kB / 0.6968 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.285e-05/0.3268, allocations: 122 kB / 0.6969 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.3268, allocations: 0 / 0.6969 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001262/0.3269, allocations: 17.56 kB / 0.6969 GB, free: 11.03 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 7.17e-05/0.327, allocations: 96.19 kB / 0.697 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.623e-05/0.327, allocations: 59.73 kB / 0.6971 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.327, allocations: 6.938 kB / 0.6971 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.772e-05/0.3271, allocations: 29.11 kB / 0.6971 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.3272, allocations: 22.59 kB / 0.6971 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004457/0.3277, allocations: 268.5 kB / 0.6974 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.219e-05/0.3277, allocations: 64.95 kB / 0.6974 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.037e-05/0.3277, allocations: 11.91 kB / 0.6974 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.466e-05/0.3278, allocations: 89.5 kB / 0.6975 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of SimCode: time 6.52e-07/0.3278, allocations: 0 / 0.6975 GB, free: 10.49 MB / 0.5105 GB Notification: Performance of Templates: time 0.002705/0.3305, allocations: 0.9397 MB / 0.6985 GB, free: 9.625 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.809783026576042]