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.001816/0.001816, allocations: 85.48 kB / 19.44 MB, free: 336 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.002/0.002, allocations: 173.2 kB / 22.76 MB, free: 1.656 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 1.572/1.572, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 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.003379/0.003379, allocations: 245.3 kB / 259.8 MB, free: 12.86 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 1.282/1.282, allocations: 138.4 MB / 454.7 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.483e-06/1.483e-06, allocations: 0 / 0.5543 GB, free: 0.918 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.141e-05, allocations: 6.25 kB / 0.5543 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002637/0.002668, allocations: 1.298 MB / 0.5556 GB, free: 15.6 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.4148/0.4175, allocations: 142.5 MB / 0.6947 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.277e-05/0.4175, allocations: 0 / 0.6947 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.092e-05/0.4176, allocations: 3.984 kB / 0.6947 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.336e-05/0.4176, allocations: 7.922 kB / 0.6948 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004994/0.4181, allocations: 95.5 kB / 0.6948 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.464e-05/0.4182, allocations: 31.86 kB / 0.6949 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.4183, allocations: 3.938 kB / 0.6949 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.221e-05/0.4183, allocations: 27.95 kB / 0.6949 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.068e-05/0.4184, allocations: 11.92 kB / 0.6949 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.4184, allocations: 4 kB / 0.6949 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002623/0.4187, allocations: 75.75 kB / 0.695 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.4187, allocations: 8 kB / 0.695 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.4187, allocations: 15.98 kB / 0.695 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001846/0.4189, allocations: 75.73 kB / 0.6951 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4189, allocations: 0 / 0.6951 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4189, allocations: 0 / 0.6951 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.4189, allocations: 0 / 0.6951 GB, free: 12.94 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.0003732/0.4193, allocations: 374.9 kB / 0.6954 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.4193, allocations: 12.75 kB / 0.6955 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002523/0.4196, allocations: 28.75 kB / 0.6955 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.591e-05/0.4197, allocations: 108.6 kB / 0.6956 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.4197, allocations: 8.375 kB / 0.6956 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.4197, allocations: 8.562 kB / 0.6956 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.4198, allocations: 130.7 kB / 0.6957 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.4198, allocations: 0 / 0.6957 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.4199, allocations: 3.984 kB / 0.6957 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4199, allocations: 0 / 0.6957 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.145e-05/0.4199, allocations: 19.98 kB / 0.6958 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/0.4201, allocations: 120.6 kB / 0.6959 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.581e-05/0.4201, allocations: 66.92 kB / 0.6959 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.548e-05/0.4202, allocations: 15.69 kB / 0.6959 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.4202, allocations: 4 kB / 0.696 GB, free: 11.92 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.4202, allocations: 37.39 kB / 0.696 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.4202, allocations: 0 / 0.696 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0006685/0.4209, allocations: 309.4 kB / 0.6963 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.4209, allocations: 55.41 kB / 0.6963 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.356e-05/0.421, allocations: 149.9 kB / 0.6965 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.421, allocations: 29.7 kB / 0.6965 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.004e-05/0.421, allocations: 130.9 kB / 0.6966 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.421, allocations: 43.98 kB / 0.6967 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.4211, allocations: 35.38 kB / 0.6967 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.118e-05/0.4211, allocations: 0.4923 MB / 0.6972 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.108e-05/0.4212, allocations: 12 kB / 0.6972 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.148e-05/0.4212, allocations: 43.36 kB / 0.6972 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.929e-05/0.4213, allocations: 64.84 kB / 0.6973 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.4213, allocations: 0 / 0.6973 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001244/0.4214, allocations: 108.1 kB / 0.6974 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.4214, allocations: 4 kB / 0.6974 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4214, allocations: 7.938 kB / 0.6974 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.4215, allocations: 0 / 0.6974 GB, free: 10.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.4216, allocations: 31.92 kB / 0.6974 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.4216, allocations: 0 / 0.6974 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.38e-05/0.4216, allocations: 4 kB / 0.6975 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.4216, allocations: 4 kB / 0.6975 GB, free: 10.25 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 6.334e-05/0.4217, allocations: 160.6 kB / 0.6976 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.026e-05/0.4217, allocations: 11.94 kB / 0.6976 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.4217, allocations: 11.95 kB / 0.6976 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.4217, allocations: 0 / 0.6976 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4217, allocations: 7.188 kB / 0.6976 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4217, allocations: 0 / 0.6976 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.3e-05/0.4218, allocations: 124.6 kB / 0.6978 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4218, allocations: 0 / 0.6978 GB, free: 9.906 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.4219, allocations: 27.92 kB / 0.6978 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.4219, allocations: 3.938 kB / 0.6978 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.422, allocations: 0 / 0.6978 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.422, allocations: 0 / 0.6978 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.422, allocations: 0 / 0.6978 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.4221, allocations: 152.3 kB / 0.6979 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.907e-05/0.4222, allocations: 14.39 kB / 0.6979 GB, free: 9.691 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.4222, allocations: 0 / 0.6979 GB, free: 9.691 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.266e-05/0.4223, allocations: 11.98 kB / 0.698 GB, free: 9.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.4223, allocations: 4 kB / 0.698 GB, free: 9.676 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.4223, allocations: 7.938 kB / 0.698 GB, free: 9.668 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.562e-05/0.4223, allocations: 123.2 kB / 0.6981 GB, free: 9.547 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.4223, allocations: 4 kB / 0.6981 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001892/0.4225, allocations: 16 kB / 0.6981 GB, free: 9.527 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 8.904e-05/0.4226, allocations: 99.25 kB / 0.6982 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.4227, allocations: 67.11 kB / 0.6983 GB, free: 9.355 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4228, allocations: 0 / 0.6983 GB, free: 9.355 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.465e-05/0.4228, allocations: 35.77 kB / 0.6983 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.423, allocations: 24.47 kB / 0.6983 GB, free: 9.293 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004543/0.4235, allocations: 265.8 kB / 0.6986 GB, free: 9.012 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.921e-05/0.4235, allocations: 71.91 kB / 0.6986 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.458e-05/0.4236, allocations: 12.72 kB / 0.6987 GB, free: 8.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.4236, allocations: 16.5 kB / 0.6987 GB, free: 8.895 MB / 0.5105 GB Notification: Performance of SimCode: time 6.01e-07/0.4236, allocations: 0 / 0.6987 GB, free: 8.895 MB / 0.5105 GB Notification: Performance of Templates: time 0.003747/0.4274, allocations: 0.861 MB / 0.6995 GB, free: 8.109 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: 6.334645205992274]