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: "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007139/0.007139, allocations: 101.1 kB / 15.88 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 194.8 kB / 16.79 MB, free: 6.242 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.36/1.36, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6783/0.6783, allocations: 115.3 MB / 405.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.2 kB / 493 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1262, allocations: 76.17 MB / 0.5558 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002315/0.1285, allocations: 1.34 MB / 0.5571 GB, free: 9.414 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3833/0.5118, allocations: 144.7 MB / 0.6984 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.026e-05/0.5119, allocations: 0 / 0.6984 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.512, allocations: 7.922 kB / 0.6984 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.665e-05/0.512, allocations: 4 kB / 0.6984 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.5124, allocations: 76.7 kB / 0.6985 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.14e-05/0.5125, allocations: 35.91 kB / 0.6986 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.5126, allocations: 7.984 kB / 0.6986 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.638e-05/0.5126, allocations: 12 kB / 0.6986 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.175e-05/0.5127, allocations: 15.92 kB / 0.6986 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.5127, allocations: 4 kB / 0.6986 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002925/0.513, allocations: 74.7 kB / 0.6987 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.513, allocations: 11.98 kB / 0.6987 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.5131, allocations: 11.92 kB / 0.6987 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.5132, allocations: 66.12 kB / 0.6987 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5133, allocations: 5.219 kB / 0.6988 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.82e-07/0.5133, allocations: 0 / 0.6988 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.5133, allocations: 4 kB / 0.6988 GB, free: 4.656 MB / 0.5137 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.0004336/0.5137, allocations: 347.5 kB / 0.6991 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/0.5138, allocations: 19.89 kB / 0.6991 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.049e-05/0.5138, allocations: 38.75 kB / 0.6991 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.5141, allocations: 13.62 kB / 0.6992 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.5142, allocations: 164.4 kB / 0.6993 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.5142, allocations: 11.94 kB / 0.6993 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.5143, allocations: 4 kB / 0.6993 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.5144, allocations: 45.69 kB / 0.6994 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.5144, allocations: 0 / 0.6994 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.5144, allocations: 4 kB / 0.6994 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.5144, allocations: 0.75 kB / 0.6994 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.858e-05/0.5145, allocations: 23.91 kB / 0.6994 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.5146, allocations: 177.5 kB / 0.6996 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.568e-05/0.5147, allocations: 50.56 kB / 0.6996 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.609e-05/0.5148, allocations: 12.86 kB / 0.6996 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.5148, allocations: 0 / 0.6996 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.5148, allocations: 34.56 kB / 0.6997 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.5148, allocations: 4 kB / 0.6997 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.0007453/0.5156, allocations: 371.6 kB / 0.7 GB, free: 3.141 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.5156, allocations: 63.34 kB / 0.7001 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.409e-05/0.5157, allocations: 89.86 kB / 0.7002 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.5157, allocations: 33.7 kB / 0.7002 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.069e-05/0.5158, allocations: 80.14 kB / 0.7003 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.5158, allocations: 39.44 kB / 0.7003 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.5159, allocations: 29.7 kB / 0.7003 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.668e-05/0.516, allocations: 318.8 kB / 0.7006 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.957e-05/0.516, allocations: 24.11 kB / 0.7007 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.784e-05/0.5161, allocations: 37.7 kB / 0.7007 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.196e-05/0.5161, allocations: 54.83 kB / 0.7008 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.5161, allocations: 0 / 0.7008 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001362/0.5163, allocations: 102.6 kB / 0.7009 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.5163, allocations: 8 kB / 0.7009 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5163, allocations: 0 / 0.7009 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.5163, allocations: 0 / 0.7009 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.5165, allocations: 27.94 kB / 0.7009 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.5165, allocations: 0 / 0.7009 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.161e-05/0.5165, allocations: 0 / 0.7009 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.5165, allocations: 7.984 kB / 0.7009 GB, free: 2.18 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.234e-05/0.5166, allocations: 121.8 kB / 0.701 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.5166, allocations: 0 / 0.701 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.5167, allocations: 11.97 kB / 0.701 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.5167, allocations: 0 / 0.701 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5167, allocations: 1.25 kB / 0.701 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.5167, allocations: 4 kB / 0.701 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.5168, allocations: 173.6 kB / 0.7012 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5168, allocations: 0 / 0.7012 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.5169, allocations: 23.92 kB / 0.7012 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.5169, allocations: 0 / 0.7012 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.517, allocations: 8 kB / 0.7012 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.517, allocations: 0 / 0.7012 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.517, allocations: 0.875 kB / 0.7012 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.5172, allocations: 138.2 kB / 0.7014 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.818e-05/0.5173, allocations: 85.14 kB / 0.7014 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.5173, allocations: 4 kB / 0.7014 GB, free: 1.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.662e-05/0.5174, allocations: 4 kB / 0.7014 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-05/0.5174, allocations: 11.92 kB / 0.7015 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.5174, allocations: 4 kB / 0.7015 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.534e-05/0.5175, allocations: 75.28 kB / 0.7015 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5175, allocations: 0 / 0.7015 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002029/0.5177, allocations: 19.94 kB / 0.7016 GB, free: 1.418 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004037/0.5181, allocations: 0.6794 MB / 0.7022 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001244/0.5182, allocations: 56.78 kB / 0.7023 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5182, allocations: 0 / 0.7023 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.221e-05/0.5183, allocations: 37.06 kB / 0.7023 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.5185, allocations: 9.547 kB / 0.7023 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.5198, allocations: 1.456 MB / 0.7037 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.5201, allocations: 0.6964 MB / 0.7044 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.889e-05/0.5202, allocations: 8.672 kB / 0.7044 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.5202, allocations: 19.42 kB / 0.7044 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of SimCode: time 2.1e-07/0.5202, allocations: 0 / 0.7044 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01168/0.5319, allocations: 1.513 MB / 0.7059 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/0.5321, allocations: 221.6 kB / 0.7061 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/2.306, allocations: 4 kB / 0.7061 GB, free: 12.67 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)