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.001177/0.001177, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001294/0.001294, allocations: 173 kB / 23.49 MB, free: 1.059 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.947/0.947, allocations: 177.1 MB / 203.8 MB, free: 5.66 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.001769/0.001769, allocations: 244.7 kB / 260.5 MB, free: 12.91 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.724/0.724, allocations: 138.4 MB / 455.4 MB, free: 1.516 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.723e-06/1.723e-06, allocations: 0 / 0.555 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.572e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001727/0.001752, allocations: 1.321 MB / 0.5563 GB, free: 15.54 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3461/0.3479, allocations: 142.5 MB / 0.6955 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.791e-05/0.3479, allocations: 4 kB / 0.6955 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.429e-05/0.3479, allocations: 7.938 kB / 0.6955 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.219e-05/0.348, allocations: 7.922 kB / 0.6955 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004351/0.3484, allocations: 93.69 kB / 0.6956 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.039e-05/0.3485, allocations: 35.84 kB / 0.6956 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.3485, allocations: 4 kB / 0.6956 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.112e-05/0.3486, allocations: 23.97 kB / 0.6956 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.513e-05/0.3487, allocations: 11.98 kB / 0.6957 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.3487, allocations: 4 kB / 0.6957 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002157/0.3489, allocations: 79.75 kB / 0.6957 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.3489, allocations: 11.92 kB / 0.6958 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.3489, allocations: 8 kB / 0.6958 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.3491, allocations: 75.73 kB / 0.6958 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3491, allocations: 0 / 0.6958 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3491, allocations: 0 / 0.6958 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3491, allocations: 0 / 0.6958 GB, free: 12.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.0002989/0.3494, allocations: 386.2 kB / 0.6962 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3494, allocations: 8.75 kB / 0.6962 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.3496, allocations: 29.45 kB / 0.6962 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.521e-05/0.3496, allocations: 108.6 kB / 0.6963 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.3497, allocations: 8.375 kB / 0.6963 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.3497, allocations: 4.562 kB / 0.6964 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.3498, allocations: 122.7 kB / 0.6965 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.3498, allocations: 0.8125 kB / 0.6965 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3498, allocations: 8 kB / 0.6965 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.3498, allocations: 0 / 0.6965 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.408e-05/0.3498, allocations: 19.91 kB / 0.6965 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001044/0.3499, allocations: 128.6 kB / 0.6966 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.312e-05/0.35, allocations: 51.05 kB / 0.6967 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.103e-05/0.35, allocations: 15.67 kB / 0.6967 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-06/0.35, allocations: 4 kB / 0.6967 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.3501, allocations: 36.77 kB / 0.6967 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.3501, allocations: 0 / 0.6967 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0005548/0.3506, allocations: 301.4 kB / 0.697 GB, free: 11.49 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.3506, allocations: 55.41 kB / 0.6971 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.951e-05/0.3507, allocations: 153.9 kB / 0.6972 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.3507, allocations: 29.7 kB / 0.6972 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.552e-05/0.3507, allocations: 126.9 kB / 0.6974 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.3507, allocations: 47.86 kB / 0.6974 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.3508, allocations: 35.36 kB / 0.6974 GB, free: 11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.94e-05/0.3508, allocations: 496.1 kB / 0.6979 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.396e-05/0.3509, allocations: 11.98 kB / 0.6979 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.334e-05/0.3509, allocations: 39.36 kB / 0.698 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.881e-05/0.3509, allocations: 53.27 kB / 0.698 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3509, allocations: 0 / 0.698 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.307e-05/0.351, allocations: 102.6 kB / 0.6981 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3511, allocations: 12.12 kB / 0.6981 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3511, allocations: 0 / 0.6981 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3511, allocations: 0 / 0.6981 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.505e-05/0.3512, allocations: 20 kB / 0.6981 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3512, allocations: 3.984 kB / 0.6981 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.044e-05/0.3512, allocations: 4 kB / 0.6981 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.3512, allocations: 4 kB / 0.6982 GB, free: 10.24 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.97e-05/0.3512, allocations: 164.5 kB / 0.6983 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.3513, allocations: 7.938 kB / 0.6983 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/0.3513, allocations: 11.97 kB / 0.6983 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3513, allocations: 4 kB / 0.6983 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3513, allocations: 4 kB / 0.6983 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.3513, allocations: 0 / 0.6983 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.204e-05/0.3514, allocations: 120.6 kB / 0.6984 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3514, allocations: 0 / 0.6984 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.757e-05/0.3514, allocations: 20 kB / 0.6985 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3514, allocations: 3.938 kB / 0.6985 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3515, allocations: 7.984 kB / 0.6985 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.3515, allocations: 0 / 0.6985 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3515, allocations: 3.938 kB / 0.6985 GB, free: 9.859 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.3516, allocations: 138.1 kB / 0.6986 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-05/0.3516, allocations: 11.92 kB / 0.6986 GB, free: 9.691 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.3516, allocations: 0 / 0.6986 GB, free: 9.691 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.785e-05/0.3517, allocations: 10.69 kB / 0.6986 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.683e-05/0.3517, allocations: 7.984 kB / 0.6986 GB, free: 9.676 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.3517, allocations: 0 / 0.6986 GB, free: 9.676 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.397e-05/0.3517, allocations: 123.2 kB / 0.6988 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3517, allocations: 0 / 0.6988 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001316/0.3518, allocations: 16 kB / 0.6988 GB, free: 9.539 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.391e-05/0.3519, allocations: 103.3 kB / 0.6989 GB, free: 9.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.79e-05/0.352, allocations: 63.05 kB / 0.6989 GB, free: 9.367 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.352, allocations: 0 / 0.6989 GB, free: 9.367 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.231e-05/0.352, allocations: 35.61 kB / 0.699 GB, free: 9.328 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.3522, allocations: 20.64 kB / 0.699 GB, free: 9.309 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005373/0.3527, allocations: 268.2 kB / 0.6992 GB, free: 9.023 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.346e-05/0.3528, allocations: 65.42 kB / 0.6993 GB, free: 8.941 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.247e-05/0.3528, allocations: 12.72 kB / 0.6993 GB, free: 8.93 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.3528, allocations: 12.5 kB / 0.6993 GB, free: 8.918 MB / 0.5105 GB Notification: Performance of SimCode: time 7.91e-07/0.3528, allocations: 0 / 0.6993 GB, free: 8.918 MB / 0.5105 GB Notification: Performance of Templates: time 0.002359/0.3552, allocations: 0.8507 MB / 0.7002 GB, free: 8.141 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: 4.012642634799704]