Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000815/0.0008149, allocations: 92.7 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009044/0.0009044, allocations: 172 kB / 16.58 MB, free: 6.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6989/0.6989, allocations: 115.5 MB / 407.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002923, allocations: 8 kB / 495.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1322, allocations: 77.53 MB / 0.5593 GB, free: 9.414 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001401/0.1336, allocations: 0.9807 MB / 0.5603 GB, free: 8.422 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.39/0.5236, allocations: 133.5 MB / 0.6906 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.189e-05/0.5237, allocations: 0 / 0.6906 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.694e-05/0.5237, allocations: 0 / 0.6906 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.887e-05/0.5238, allocations: 7.938 kB / 0.6906 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.5241, allocations: 75.44 kB / 0.6907 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.937e-05/0.5242, allocations: 31.84 kB / 0.6907 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.445e-05/0.5243, allocations: 4 kB / 0.6907 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.371e-05/0.5243, allocations: 15.94 kB / 0.6907 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.57e-05/0.5244, allocations: 15.97 kB / 0.6908 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.5244, allocations: 4 kB / 0.6908 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002434/0.5246, allocations: 69.58 kB / 0.6908 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.5247, allocations: 7.984 kB / 0.6908 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.5247, allocations: 41.62 kB / 0.6909 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.5248, allocations: 38.7 kB / 0.6909 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.5248, allocations: 0 / 0.6909 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5248, allocations: 0 / 0.6909 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.5248, allocations: 0 / 0.6909 GB, free: 0.6211 MB / 0.4981 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.0003519/0.5252, allocations: 347.3 kB / 0.6912 GB, free: 240 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.5252, allocations: 8.031 kB / 0.6913 GB, free: 232 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.5254, allocations: 12.53 kB / 0.6913 GB, free: 220 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.5255, allocations: 175.1 kB / 0.6914 GB, free: 4 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.5256, allocations: 3.938 kB / 0.6914 GB, free: 0 / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.5256, allocations: 8 kB / 0.6914 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.5257, allocations: 49.64 kB / 0.6915 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.423e-06/0.5257, allocations: 3.938 kB / 0.6915 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.5258, allocations: 0 / 0.6915 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.5258, allocations: 0 / 0.6915 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.616e-05/0.5258, allocations: 19.98 kB / 0.6915 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.526, allocations: 165.6 kB / 0.6917 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.205e-05/0.5261, allocations: 50.55 kB / 0.6917 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.715e-05/0.5261, allocations: 16.86 kB / 0.6917 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.5261, allocations: 3.953 kB / 0.6917 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.5262, allocations: 46.48 kB / 0.6918 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.5262, allocations: 0 / 0.6918 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0006815/0.5269, allocations: 370.3 kB / 0.6921 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.5269, allocations: 55.41 kB / 0.6922 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.994e-05/0.527, allocations: 89.86 kB / 0.6923 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.527, allocations: 29.7 kB / 0.6923 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.537e-05/0.527, allocations: 84.14 kB / 0.6924 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.5271, allocations: 35.45 kB / 0.6924 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.5271, allocations: 0 / 0.6924 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.5272, allocations: 323 kB / 0.6927 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.154e-05/0.5272, allocations: 20 kB / 0.6927 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.705e-05/0.5273, allocations: 33.7 kB / 0.6928 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.538e-05/0.5273, allocations: 27.94 kB / 0.6928 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.5274, allocations: 0 / 0.6928 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001335/0.5275, allocations: 102.6 kB / 0.6929 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.5275, allocations: 8 kB / 0.6929 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.5275, allocations: 0 / 0.6929 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.5275, allocations: 0 / 0.6929 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.5277, allocations: 31.92 kB / 0.6929 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.5277, allocations: 0 / 0.6929 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.851e-05/0.5277, allocations: 0 / 0.6929 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.5277, allocations: 4 kB / 0.6929 GB, free: 14.27 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.251e-05/0.5278, allocations: 117.8 kB / 0.6931 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.5278, allocations: 7.953 kB / 0.6931 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/0.5279, allocations: 7.969 kB / 0.6931 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.5279, allocations: 0 / 0.6931 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.5279, allocations: 4 kB / 0.6931 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.5279, allocations: 0 / 0.6931 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.528, allocations: 173.6 kB / 0.6932 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.528, allocations: 0 / 0.6932 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.5282, allocations: 27.17 kB / 0.6933 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.5282, allocations: 11.89 kB / 0.6933 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.5282, allocations: 4 kB / 0.6933 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.5282, allocations: 0 / 0.6933 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5282, allocations: 0 / 0.6933 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.5284, allocations: 137 kB / 0.6934 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.156e-05/0.5285, allocations: 81.14 kB / 0.6935 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.5285, allocations: 7.953 kB / 0.6935 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.746e-05/0.5286, allocations: 4 kB / 0.6935 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.995e-05/0.5286, allocations: 7.984 kB / 0.6935 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.5286, allocations: 4 kB / 0.6935 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.192e-05/0.5287, allocations: 79.22 kB / 0.6936 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5287, allocations: 0 / 0.6936 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002017/0.5289, allocations: 16 kB / 0.6936 GB, free: 13.51 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.37e-05/0.529, allocations: 107.3 kB / 0.6937 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.5291, allocations: 56.56 kB / 0.6938 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5291, allocations: 0 / 0.6938 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.683e-05/0.5292, allocations: 27.98 kB / 0.6938 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.5294, allocations: 12.69 kB / 0.6938 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.5299, allocations: 388.3 kB / 0.6942 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.5302, allocations: 0.6888 MB / 0.6948 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.872e-05/0.5303, allocations: 12.66 kB / 0.6949 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.5303, allocations: 15.38 kB / 0.6949 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.5303, allocations: 0 / 0.6949 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of Templates: time 0.002567/0.5329, allocations: 0.5799 MB / 0.6954 GB, free: 11.59 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)