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.001399/0.001399, allocations: 95.88 kB / 15.68 MB, free: 488 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.002429/0.002429, allocations: 177.2 kB / 16.57 MB, free: 6.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.68/2.68, allocations: 223.2 MB / 240.5 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.285/1.285, allocations: 113.7 MB / 405.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007809/0.0007815, allocations: 8.625 kB / 493 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3364, allocations: 77.12 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.003353/0.3399, allocations: 0.9727 MB / 0.5577 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.9174/1.257, allocations: 124.3 MB / 0.679 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.277e-05/1.257, allocations: 4 kB / 0.679 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/1.258, allocations: 0 / 0.679 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.397e-05/1.258, allocations: 7.984 kB / 0.6791 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005776/1.258, allocations: 79.73 kB / 0.6791 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.714e-05/1.258, allocations: 27.95 kB / 0.6792 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.627e-05/1.258, allocations: 0 / 0.6792 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.229e-05/1.258, allocations: 11.94 kB / 0.6792 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.806e-05/1.259, allocations: 15.97 kB / 0.6792 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/1.259, allocations: 4 kB / 0.6792 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004154/1.259, allocations: 87.81 kB / 0.6793 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.862e-05/1.259, allocations: 3.938 kB / 0.6793 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.903e-05/1.259, allocations: 29.7 kB / 0.6793 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/1.259, allocations: 42.2 kB / 0.6793 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.259, allocations: 0 / 0.6793 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.214e-06/1.259, allocations: 0 / 0.6793 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.089e-06/1.259, allocations: 0 / 0.6793 GB, free: 12.59 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.0005393/1.26, allocations: 348.5 kB / 0.6797 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.496e-05/1.26, allocations: 12.03 kB / 0.6797 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.476e-05/1.26, allocations: 38.56 kB / 0.6797 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000339/1.26, allocations: 4.781 kB / 0.6797 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/1.261, allocations: 171 kB / 0.6799 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/1.261, allocations: 15.86 kB / 0.6799 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.967e-05/1.261, allocations: 11.94 kB / 0.6799 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/1.261, allocations: 45.69 kB / 0.68 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.261, allocations: 0 / 0.68 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/1.261, allocations: 0 / 0.68 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/1.261, allocations: 4 kB / 0.68 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.459e-05/1.261, allocations: 19.98 kB / 0.68 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/1.262, allocations: 165.6 kB / 0.6801 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/1.262, allocations: 50.5 kB / 0.6802 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/1.262, allocations: 7.953 kB / 0.6802 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/1.262, allocations: 32.25 kB / 0.6802 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.913e-06/1.262, allocations: 4 kB / 0.6802 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0011/1.263, allocations: 370.3 kB / 0.6806 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/1.263, allocations: 51.41 kB / 0.6806 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.705e-05/1.263, allocations: 93.86 kB / 0.6807 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001501/1.263, allocations: 29.7 kB / 0.6808 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/1.263, allocations: 80.14 kB / 0.6808 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.042e-05/1.263, allocations: 43.58 kB / 0.6809 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/1.263, allocations: 3.938 kB / 0.6809 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003528/1.264, allocations: 322.8 kB / 0.6812 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/1.264, allocations: 15.98 kB / 0.6812 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.509e-05/1.264, allocations: 41.64 kB / 0.6812 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.186e-05/1.264, allocations: 20 kB / 0.6813 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/1.264, allocations: 0 / 0.6813 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002341/1.264, allocations: 98.7 kB / 0.6813 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/1.264, allocations: 8 kB / 0.6814 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/1.264, allocations: 0 / 0.6814 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/1.264, allocations: 7.922 kB / 0.6814 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/1.265, allocations: 20 kB / 0.6814 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-05/1.265, allocations: 0 / 0.6814 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.458e-05/1.265, allocations: 4 kB / 0.6814 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/1.265, allocations: 4 kB / 0.6814 GB, free: 10.23 MB / 0.4981 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 0.000178/1.265, allocations: 113.8 kB / 0.6815 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/1.265, allocations: 11.94 kB / 0.6815 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.347e-05/1.265, allocations: 15.97 kB / 0.6815 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/1.265, allocations: 3.938 kB / 0.6815 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/1.265, allocations: 0 / 0.6815 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/1.265, allocations: 0 / 0.6815 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/1.265, allocations: 173.6 kB / 0.6817 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.265, allocations: 0.875 kB / 0.6817 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/1.266, allocations: 20 kB / 0.6817 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/1.266, allocations: 3.953 kB / 0.6817 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/1.266, allocations: 3.984 kB / 0.6817 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/1.266, allocations: 0 / 0.6817 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/1.266, allocations: 0 / 0.6817 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/1.266, allocations: 143.5 kB / 0.6819 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/1.266, allocations: 86.39 kB / 0.6819 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/1.266, allocations: 7.953 kB / 0.6819 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/1.267, allocations: 0 / 0.6819 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/1.267, allocations: 7.984 kB / 0.682 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/1.267, allocations: 8 kB / 0.682 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.785e-05/1.267, allocations: 79.28 kB / 0.682 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.21e-07/1.267, allocations: 0 / 0.682 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003835/1.267, allocations: 12 kB / 0.6821 GB, free: 9.461 MB / 0.4981 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 0.001232/1.268, allocations: 0.6676 MB / 0.6827 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002863/1.269, allocations: 56.72 kB / 0.6828 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.836e-05/1.269, allocations: 4.094 kB / 0.6828 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.275e-05/1.269, allocations: 31.92 kB / 0.6828 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/1.269, allocations: 11.72 kB / 0.6828 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/1.271, allocations: 0.8111 MB / 0.6836 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005875/1.272, allocations: 0.6926 MB / 0.6843 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001346/1.272, allocations: 12.66 kB / 0.6843 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.24e-05/1.272, allocations: 19.5 kB / 0.6843 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/1.272, allocations: 0 / 0.6843 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02294/1.295, allocations: 1.409 MB / 0.6857 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003666/1.296, allocations: 192.6 kB / 0.6859 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.08/4.376, allocations: 0 / 0.6859 GB, free: 5.566 MB / 0.4981 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/linux/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) Environment - environmentSimulation: