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.001408/0.001408, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.001684/0.001684, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9195/0.9195, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.00229/0.00229, allocations: 232.5 kB / 261.3 MB, free: 12.64 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.7538/0.7538, allocations: 138.4 MB / 456.3 MB, free: 30.06 MB / 410.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.144e-06/2.144e-06, allocations: 0 / 0.5563 GB, free: 15.92 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.275e-05/3.49e-05, allocations: 6.5 kB / 0.5563 GB, free: 15.92 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002223/0.002257, allocations: 1.326 MB / 0.5576 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3572/0.3594, allocations: 140.1 MB / 0.6944 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.887e-05/0.3595, allocations: 0 / 0.6944 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.156e-05/0.3595, allocations: 0 / 0.6944 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.438e-05/0.3595, allocations: 3.391 kB / 0.6945 GB, free: 52.5 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004083/0.3599, allocations: 98.22 kB / 0.6945 GB, free: 52.49 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.309e-05/0.36, allocations: 31.77 kB / 0.6946 GB, free: 52.49 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.799e-05/0.3601, allocations: 11.14 kB / 0.6946 GB, free: 52.49 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.112e-05/0.3601, allocations: 22.94 kB / 0.6946 GB, free: 52.48 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.642e-05/0.3602, allocations: 16.34 kB / 0.6946 GB, free: 52.48 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.3602, allocations: 0 / 0.6946 GB, free: 52.48 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.3604, allocations: 75.72 kB / 0.6947 GB, free: 52.48 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.3604, allocations: 13.62 kB / 0.6947 GB, free: 52.48 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.3604, allocations: 7.703 kB / 0.6947 GB, free: 52.48 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.3606, allocations: 78.88 kB / 0.6948 GB, free: 52.46 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3606, allocations: 0 / 0.6948 GB, free: 52.46 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3606, allocations: 0 / 0.6948 GB, free: 52.46 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.3606, allocations: 0 / 0.6948 GB, free: 52.46 MB / 0.5573 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.0002953/0.3609, allocations: 385.6 kB / 0.6952 GB, free: 52.09 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.3609, allocations: 7.281 kB / 0.6952 GB, free: 52.09 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.3611, allocations: 27.08 kB / 0.6952 GB, free: 52.08 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.093e-05/0.3611, allocations: 104.6 kB / 0.6953 GB, free: 51.95 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.3611, allocations: 3.5 kB / 0.6953 GB, free: 51.95 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.3611, allocations: 8.406 kB / 0.6953 GB, free: 51.95 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.441e-05/0.3612, allocations: 131.1 kB / 0.6954 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.3612, allocations: 0 / 0.6954 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.3612, allocations: 0 / 0.6954 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.3613, allocations: 4.25 kB / 0.6954 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.401e-05/0.3613, allocations: 16.42 kB / 0.6954 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.747e-05/0.3614, allocations: 106.5 kB / 0.6956 GB, free: 51.7 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.604e-05/0.3614, allocations: 47.94 kB / 0.6956 GB, free: 51.67 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.386e-05/0.3614, allocations: 19.88 kB / 0.6956 GB, free: 51.66 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.3615, allocations: 7.062 kB / 0.6956 GB, free: 51.65 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.3615, allocations: 36.77 kB / 0.6957 GB, free: 51.61 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.3615, allocations: 0 / 0.6957 GB, free: 51.61 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11): time 0.000409/0.3619, allocations: 294.7 kB / 0.6959 GB, free: 51.43 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/0.3619, allocations: 51.41 kB / 0.696 GB, free: 51.37 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.855e-05/0.3619, allocations: 160 kB / 0.6961 GB, free: 51.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.3619, allocations: 29.08 kB / 0.6962 GB, free: 51.17 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.284e-05/0.362, allocations: 126.9 kB / 0.6963 GB, free: 51.04 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.362, allocations: 42.11 kB / 0.6963 GB, free: 51.01 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.362, allocations: 34.23 kB / 0.6964 GB, free: 50.99 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.484e-05/0.3621, allocations: 0.4894 MB / 0.6968 GB, free: 50.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.252e-05/0.3621, allocations: 8.094 kB / 0.6968 GB, free: 50.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.327e-05/0.3621, allocations: 36.58 kB / 0.6969 GB, free: 50.47 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.93e-05/0.3621, allocations: 50.47 kB / 0.6969 GB, free: 50.45 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3621, allocations: 128 / 0.6969 GB, free: 50.45 MB / 0.5573 GB Notification: Performance of matching and sorting (n=14) (initialization): time 7.207e-05/0.3622, allocations: 94.55 kB / 0.697 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.3622, allocations: 8.234 kB / 0.697 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3622, allocations: 0 / 0.697 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.3622, allocations: 3.188 kB / 0.697 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.46e-05/0.3623, allocations: 17.95 kB / 0.697 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.3623, allocations: 3.5 kB / 0.6971 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.702e-05/0.3623, allocations: 1.094 kB / 0.6971 GB, free: 50.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.3623, allocations: 6.875 kB / 0.6971 GB, free: 50.4 MB / 0.5573 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.158e-05/0.3624, allocations: 165.3 kB / 0.6972 GB, free: 50.24 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.3624, allocations: 15.14 kB / 0.6972 GB, free: 50.23 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.331e-05/0.3624, allocations: 10.59 kB / 0.6972 GB, free: 50.23 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3624, allocations: 3.25 kB / 0.6972 GB, free: 50.23 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.3624, allocations: 0 / 0.6972 GB, free: 50.23 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3624, allocations: 0 / 0.6972 GB, free: 50.23 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.491e-05/0.3625, allocations: 108.9 kB / 0.6973 GB, free: 50.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3625, allocations: 1.203 kB / 0.6973 GB, free: 50.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.658e-05/0.3625, allocations: 21 kB / 0.6974 GB, free: 50.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3625, allocations: 0 / 0.6974 GB, free: 50.11 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.3625, allocations: 3.062 kB / 0.6974 GB, free: 50.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3625, allocations: 4.969 kB / 0.6974 GB, free: 50.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3625, allocations: 4 kB / 0.6974 GB, free: 50.11 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.3627, allocations: 133.4 kB / 0.6975 GB, free: 50.02 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.932e-05/0.3627, allocations: 4.281 kB / 0.6975 GB, free: 50.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.3627, allocations: 4.562 kB / 0.6975 GB, free: 50.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.618e-05/0.3627, allocations: 9.125 kB / 0.6975 GB, free: 50.02 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.467e-05/0.3628, allocations: 5.562 kB / 0.6975 GB, free: 50.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.3628, allocations: 5.688 kB / 0.6975 GB, free: 50.02 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.494e-05/0.3628, allocations: 119.2 kB / 0.6976 GB, free: 49.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.3628, allocations: 1.25 kB / 0.6977 GB, free: 49.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001293/0.3629, allocations: 19.03 kB / 0.6977 GB, free: 49.9 MB / 0.5573 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.812e-05/0.363, allocations: 109 kB / 0.6978 GB, free: 49.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 8.906e-05/0.3631, allocations: 51.47 kB / 0.6978 GB, free: 49.79 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.3631, allocations: 1.203 kB / 0.6978 GB, free: 49.79 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.53e-05/0.3631, allocations: 33.22 kB / 0.6979 GB, free: 49.77 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.3633, allocations: 21.3 kB / 0.6979 GB, free: 49.77 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.3637, allocations: 270.6 kB / 0.6981 GB, free: 49.57 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.293e-05/0.3638, allocations: 61.12 kB / 0.6982 GB, free: 49.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.118e-05/0.3638, allocations: 13.78 kB / 0.6982 GB, free: 49.49 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.206e-05/0.3639, allocations: 89.73 kB / 0.6983 GB, free: 49.43 MB / 0.5573 GB Notification: Performance of SimCode: time 8.61e-07/0.3639, allocations: 0 / 0.6983 GB, free: 49.43 MB / 0.5573 GB Notification: Performance of Templates: time 0.002547/0.3664, allocations: 0.9633 MB / 0.6992 GB, free: 49.36 MB / 0.5573 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: 4.095810628961772]