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.001141/0.001141, allocations: 105.6 kB / 16.4 MB, free: 6.508 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.001144/0.001144, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.263/1.263, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6813/0.6813, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 59.66 kB / 0.5572 GB, free: 32.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1471, allocations: 76.18 MB / 0.6316 GB, free: 4.93 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002335/0.1495, allocations: 1.27 MB / 0.6328 GB, free: 3.648 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.484/0.6335, allocations: 147 MB / 0.7763 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.375e-05/0.6336, allocations: 0 / 0.7763 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.326e-05/0.6337, allocations: 0 / 0.7763 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.713e-05/0.6338, allocations: 7.609 kB / 0.7764 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.6342, allocations: 96.92 kB / 0.7764 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.576e-05/0.6343, allocations: 40.02 kB / 0.7765 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.299e-05/0.6343, allocations: 2.438 kB / 0.7765 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.983e-05/0.6344, allocations: 15.77 kB / 0.7765 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.834e-05/0.6344, allocations: 15.23 kB / 0.7765 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.6345, allocations: 1.219 kB / 0.7765 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000282/0.6348, allocations: 78.41 kB / 0.7766 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.6348, allocations: 5.406 kB / 0.7766 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.6348, allocations: 18.11 kB / 0.7766 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.635, allocations: 67.45 kB / 0.7767 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.6351, allocations: 4 kB / 0.7767 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.256e-06/0.6351, allocations: 0 / 0.7767 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.6351, allocations: 1.625 kB / 0.7767 GB, free: 14.18 MB / 0.5919 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.0004644/0.6356, allocations: 351.9 kB / 0.777 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.6356, allocations: 9.812 kB / 0.777 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.152e-05/0.6357, allocations: 33.53 kB / 0.7771 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.6359, allocations: 16.7 kB / 0.7771 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.964e-05/0.636, allocations: 168.8 kB / 0.7772 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.636, allocations: 9.562 kB / 0.7773 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.636, allocations: 7.156 kB / 0.7773 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.6361, allocations: 48.16 kB / 0.7773 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.6362, allocations: 0.5 kB / 0.7773 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.6362, allocations: 4.25 kB / 0.7773 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.6362, allocations: 1.062 kB / 0.7773 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.142e-05/0.6362, allocations: 13.53 kB / 0.7773 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.6364, allocations: 174.1 kB / 0.7775 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.774e-05/0.6365, allocations: 58.53 kB / 0.7775 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.169e-05/0.6366, allocations: 17.73 kB / 0.7776 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.896e-06/0.6366, allocations: 1.094 kB / 0.7776 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.6366, allocations: 32.19 kB / 0.7776 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.6366, allocations: 0 / 0.7776 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0007556/0.6374, allocations: 370.4 kB / 0.7779 GB, free: 13 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.6374, allocations: 61.31 kB / 0.778 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.722e-05/0.6375, allocations: 93.47 kB / 0.7781 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.6375, allocations: 30.86 kB / 0.7781 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/0.6375, allocations: 80.67 kB / 0.7782 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.211e-05/0.6376, allocations: 39.61 kB / 0.7782 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/0.6376, allocations: 27.38 kB / 0.7783 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.884e-05/0.6377, allocations: 321.8 kB / 0.7786 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.172e-05/0.6378, allocations: 22.39 kB / 0.7786 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/0.6378, allocations: 37.62 kB / 0.7786 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/0.638, allocations: 60.27 kB / 0.7787 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.638, allocations: 0 / 0.7787 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001249/0.6381, allocations: 98.2 kB / 0.7788 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.6381, allocations: 5.656 kB / 0.7788 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.6381, allocations: 2.531 kB / 0.7788 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.6381, allocations: 1.406 kB / 0.7788 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.6383, allocations: 27.33 kB / 0.7788 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.6383, allocations: 1.406 kB / 0.7788 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.143e-05/0.6383, allocations: 4.344 kB / 0.7788 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.6383, allocations: 4.016 kB / 0.7788 GB, free: 12.29 MB / 0.5919 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.995e-05/0.6384, allocations: 120.5 kB / 0.7789 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.6384, allocations: 3.781 kB / 0.7789 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.474e-05/0.6385, allocations: 13.22 kB / 0.779 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.6385, allocations: 1.219 kB / 0.779 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6385, allocations: 1.281 kB / 0.779 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.6385, allocations: 4 kB / 0.779 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.6386, allocations: 174.2 kB / 0.7791 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6386, allocations: 1.469 kB / 0.7791 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.6387, allocations: 23.55 kB / 0.7792 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.6387, allocations: 6.281 kB / 0.7792 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.6388, allocations: 7.016 kB / 0.7792 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.6388, allocations: 1.125 kB / 0.7792 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.6388, allocations: 1.375 kB / 0.7792 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.639, allocations: 136.5 kB / 0.7793 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.373e-05/0.639, allocations: 85.42 kB / 0.7794 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.6391, allocations: 4.562 kB / 0.7794 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.932e-05/0.6391, allocations: 4.219 kB / 0.7794 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.6392, allocations: 11.53 kB / 0.7794 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.6392, allocations: 3.156 kB / 0.7794 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.717e-05/0.6392, allocations: 75.28 kB / 0.7795 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.6392, allocations: 0 / 0.7795 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002151/0.6394, allocations: 20.44 kB / 0.7795 GB, free: 11.71 MB / 0.5919 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.00039/0.6398, allocations: 0.6719 MB / 0.7801 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.64, allocations: 56.23 kB / 0.7802 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.64, allocations: 1.203 kB / 0.7802 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.777e-05/0.64, allocations: 30.88 kB / 0.7802 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.6402, allocations: 12.03 kB / 0.7802 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.6415, allocations: 1.452 MB / 0.7817 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.6417, allocations: 0.6854 MB / 0.7823 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.939e-05/0.6418, allocations: 10.73 kB / 0.7823 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.6418, allocations: 17.44 kB / 0.7824 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.6418, allocations: 0 / 0.7824 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.6588, allocations: 1.702 MB / 0.784 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.114/7.773, allocations: 12.23 kB / 0.784 GB, free: 8.742 MB / 0.5919 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)