Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0006856/0.0006856, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009271/0.001613, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006931/0.0006931, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008615/0.001555, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9849/0.9849, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08278/1.068, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.861/1.861, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4806/2.341, allocations: 127.1 MB / 0.7432 GB, free: 4.609 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.7444 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.307e-05, allocations: 3.75 kB / 0.7444 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002119/0.002143, allocations: 1.371 MB / 0.7458 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1337/0.1359, allocations: 142.6 MB / 0.8851 GB, free: 3.043 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.182e-05/0.1359, allocations: 0 / 0.8851 GB, free: 3.043 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.441e-05/0.1359, allocations: 0 / 0.8851 GB, free: 3.043 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.802e-05/0.1359, allocations: 3.938 kB / 0.8851 GB, free: 3.039 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.1364, allocations: 99.42 kB / 0.8852 GB, free: 2.941 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.135e-05/0.1365, allocations: 35.86 kB / 0.8852 GB, free: 2.906 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.787e-05/0.1365, allocations: 3.984 kB / 0.8852 GB, free: 2.902 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.382e-05/0.1366, allocations: 19.98 kB / 0.8852 GB, free: 2.883 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.728e-05/0.1366, allocations: 11.97 kB / 0.8852 GB, free: 2.871 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.1367, allocations: 7.938 kB / 0.8852 GB, free: 2.863 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/0.1369, allocations: 75.77 kB / 0.8853 GB, free: 2.789 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.1369, allocations: 4 kB / 0.8853 GB, free: 2.785 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.938e-05/0.1369, allocations: 12 kB / 0.8853 GB, free: 2.773 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.137, allocations: 67.7 kB / 0.8854 GB, free: 2.707 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.837e-05/0.1371, allocations: 4 kB / 0.8854 GB, free: 2.703 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1371, allocations: 0 / 0.8854 GB, free: 2.703 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.824e-05/0.1371, allocations: 0 / 0.8854 GB, free: 2.703 MB / 0.8542 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.0003767/0.1375, allocations: 264.5 kB / 0.8856 GB, free: 2.422 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.1375, allocations: 8.031 kB / 0.8856 GB, free: 2.414 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.1377, allocations: 105.9 kB / 0.8857 GB, free: 2.293 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.6e-05/0.1377, allocations: 113.7 kB / 0.8859 GB, free: 2.156 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1377, allocations: 8.375 kB / 0.8859 GB, free: 2.148 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.1378, allocations: 4.375 kB / 0.8859 GB, free: 2.145 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.1379, allocations: 126.7 kB / 0.886 GB, free: 1.996 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1379, allocations: 3.938 kB / 0.886 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.1379, allocations: 11.92 kB / 0.886 GB, free: 1.98 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.1379, allocations: 0 / 0.886 GB, free: 1.98 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.302e-05/0.1379, allocations: 11.98 kB / 0.886 GB, free: 1.969 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.639e-05/0.138, allocations: 65.05 kB / 0.8861 GB, free: 1.891 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.794e-05/0.1381, allocations: 38.62 kB / 0.8861 GB, free: 1.844 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.466e-05/0.1381, allocations: 16.86 kB / 0.8861 GB, free: 1.824 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-06/0.1381, allocations: 4 kB / 0.8861 GB, free: 1.82 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.1381, allocations: 30.56 kB / 0.8862 GB, free: 1.781 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 7.21e-07/0.1381, allocations: 0 / 0.8862 GB, free: 1.781 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0005923/0.1387, allocations: 329.5 kB / 0.8865 GB, free: 1.426 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.1387, allocations: 51.41 kB / 0.8865 GB, free: 1.363 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.066e-05/0.1388, allocations: 98.72 kB / 0.8866 GB, free: 1.254 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.1388, allocations: 29.7 kB / 0.8867 GB, free: 1.219 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.07e-05/0.1388, allocations: 80.14 kB / 0.8867 GB, free: 1.137 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.1389, allocations: 39.67 kB / 0.8868 GB, free: 1.098 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.1389, allocations: 29.7 kB / 0.8868 GB, free: 1.062 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.003e-05/0.139, allocations: 314.8 kB / 0.8871 GB, free: 0.7461 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.238e-05/0.139, allocations: 8.125 kB / 0.8871 GB, free: 0.7383 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.674e-05/0.139, allocations: 37.62 kB / 0.8871 GB, free: 0.6953 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.192e-05/0.1391, allocations: 45.61 kB / 0.8872 GB, free: 0.6445 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1391, allocations: 0 / 0.8872 GB, free: 0.6445 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14) (initialization): time 6.802e-05/0.1391, allocations: 73.56 kB / 0.8873 GB, free: 0.5664 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1391, allocations: 7.984 kB / 0.8873 GB, free: 0.5586 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1391, allocations: 0 / 0.8873 GB, free: 0.5586 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.1391, allocations: 0 / 0.8873 GB, free: 0.5586 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.395e-05/0.1392, allocations: 24 kB / 0.8873 GB, free: 0.5352 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.1392, allocations: 0 / 0.8873 GB, free: 0.5352 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.704e-05/0.1392, allocations: 4 kB / 0.8873 GB, free: 0.5312 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.1392, allocations: 8 kB / 0.8873 GB, free: 0.5234 MB / 0.8542 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.218e-05/0.1393, allocations: 125.8 kB / 0.8874 GB, free: 400 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.1393, allocations: 7.938 kB / 0.8874 GB, free: 392 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.1393, allocations: 11.97 kB / 0.8874 GB, free: 372 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1393, allocations: 0 / 0.8874 GB, free: 372 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.1394, allocations: 0 / 0.8874 GB, free: 372 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1394, allocations: 4 kB / 0.8874 GB, free: 368 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.222e-05/0.1394, allocations: 73.88 kB / 0.8875 GB, free: 276 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1394, allocations: 0 / 0.8875 GB, free: 276 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.462e-05/0.1395, allocations: 27.92 kB / 0.8875 GB, free: 252 kB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.821e-05/0.1395, allocations: 11.95 kB / 0.8875 GB, free: 240 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1395, allocations: 7.938 kB / 0.8876 GB, free: 232 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.1395, allocations: 4 kB / 0.8876 GB, free: 228 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.1395, allocations: 0 / 0.8876 GB, free: 228 kB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1395, allocations: 0 / 0.8876 GB, free: 228 kB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.1396, allocations: 109 kB / 0.8877 GB, free: 100 kB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.777e-06/0.1396, allocations: 0 / 0.8877 GB, free: 100 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.365e-05/0.1397, allocations: 11.92 kB / 0.8877 GB, free: 88 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.1397, allocations: 8 kB / 0.8877 GB, free: 80 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.1397, allocations: 3.984 kB / 0.8877 GB, free: 76 kB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.546e-06/0.1397, allocations: 8.859 kB / 0.8877 GB, free: 64 kB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.1397, allocations: 0 / 0.8877 GB, free: 64 kB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001015/0.1398, allocations: 20 kB / 0.8877 GB, free: 44 kB / 0.8542 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 9.418e-05/0.1399, allocations: 76.47 kB / 0.8878 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.377e-05/0.14, allocations: 52.72 kB / 0.8878 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.14, allocations: 0 / 0.8878 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.098e-05/0.14, allocations: 29 kB / 0.8879 GB, free: 15.88 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.1401, allocations: 40.62 kB / 0.8879 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007911/0.1409, allocations: 196.2 kB / 0.8881 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.078e-05/0.141, allocations: 59.36 kB / 0.8881 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.739e-05/0.141, allocations: 20.69 kB / 0.8882 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.586e-05/0.1411, allocations: 67.36 kB / 0.8882 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of SimCode: time 9.12e-07/0.1411, allocations: 0 / 0.8882 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of Templates: time 0.002497/0.1436, allocations: 0.9974 MB / 0.8892 GB, free: 14.49 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.937687907367945]