Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_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.001022/0.001022, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001361/0.001361, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.003/1.003, allocations: 143.4 MB / 434.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000303/0.0003031, allocations: 8 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1711, allocations: 83.41 MB / 0.5975 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001691/0.1729, allocations: 0.9978 MB / 0.5985 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4374/0.6103, allocations: 133.5 MB / 0.7288 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.216e-05/0.6104, allocations: 0.9062 kB / 0.7288 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.904e-05/0.6104, allocations: 1.5 kB / 0.7288 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.929e-05/0.6105, allocations: 13.58 kB / 0.7289 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.6108, allocations: 73.09 kB / 0.7289 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.156e-05/0.6109, allocations: 33.73 kB / 0.729 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.6109, allocations: 5.781 kB / 0.729 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.218e-05/0.611, allocations: 14.78 kB / 0.729 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.094e-05/0.6111, allocations: 16.91 kB / 0.729 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.6111, allocations: 1.094 kB / 0.729 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.6113, allocations: 75.7 kB / 0.7291 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.6114, allocations: 8.922 kB / 0.7291 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.6114, allocations: 29.23 kB / 0.7291 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.6115, allocations: 47.22 kB / 0.7291 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.6115, allocations: 0 / 0.7291 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6115, allocations: 0 / 0.7291 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.6116, allocations: 1.281 kB / 0.7291 GB, free: 15.34 MB / 0.5606 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.0003593/0.6119, allocations: 338.4 kB / 0.7295 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.612, allocations: 9.188 kB / 0.7295 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.918e-05/0.612, allocations: 42.14 kB / 0.7295 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.6122, allocations: 12.38 kB / 0.7295 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.606e-05/0.6123, allocations: 162.2 kB / 0.7297 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.6123, allocations: 12.03 kB / 0.7297 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.6123, allocations: 4.203 kB / 0.7297 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.6125, allocations: 51.16 kB / 0.7297 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.6125, allocations: 0 / 0.7297 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.6125, allocations: 1.953 kB / 0.7297 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.6125, allocations: 1.031 kB / 0.7297 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.106e-05/0.6126, allocations: 30.56 kB / 0.7298 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.6128, allocations: 171 kB / 0.7299 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.6129, allocations: 47.8 kB / 0.73 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/0.6129, allocations: 16.98 kB / 0.73 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.613, allocations: 1.75 kB / 0.73 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.613, allocations: 31.69 kB / 0.73 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 2.645e-06/0.613, allocations: 4.969 kB / 0.73 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0006741/0.6137, allocations: 368.3 kB / 0.7304 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.6137, allocations: 56.44 kB / 0.7304 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.917e-05/0.6138, allocations: 92.47 kB / 0.7305 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.6138, allocations: 26.86 kB / 0.7306 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.6138, allocations: 88.02 kB / 0.7306 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.6139, allocations: 43.72 kB / 0.7307 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.6139, allocations: 0 / 0.7307 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.562e-05/0.614, allocations: 322.8 kB / 0.731 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.384e-05/0.614, allocations: 16.3 kB / 0.731 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.028e-05/0.6141, allocations: 35.56 kB / 0.731 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.6141, allocations: 25.16 kB / 0.7311 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6141, allocations: 0 / 0.7311 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001362/0.6143, allocations: 102.5 kB / 0.7312 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.6143, allocations: 9.031 kB / 0.7312 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.6143, allocations: 1.031 kB / 0.7312 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.6143, allocations: 1.062 kB / 0.7312 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.6144, allocations: 25.92 kB / 0.7312 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.6145, allocations: 0.9062 kB / 0.7312 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.954e-05/0.6145, allocations: 6 kB / 0.7312 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.6145, allocations: 2.75 kB / 0.7312 GB, free: 13.34 MB / 0.5606 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 7.167e-05/0.6146, allocations: 117.7 kB / 0.7313 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.6146, allocations: 3.219 kB / 0.7313 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.505e-05/0.6147, allocations: 16.62 kB / 0.7313 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.6147, allocations: 2.281 kB / 0.7313 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6147, allocations: 1.125 kB / 0.7313 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6147, allocations: 0.7031 kB / 0.7313 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.6148, allocations: 171.2 kB / 0.7315 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6148, allocations: 0.9688 kB / 0.7315 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.6149, allocations: 20.25 kB / 0.7315 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.6149, allocations: 1.188 kB / 0.7315 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.615, allocations: 5.578 kB / 0.7315 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.615, allocations: 4.906 kB / 0.7315 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.615, allocations: 0.6875 kB / 0.7315 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.6152, allocations: 136.5 kB / 0.7317 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.687e-05/0.6153, allocations: 90.66 kB / 0.7318 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.6153, allocations: 3.203 kB / 0.7318 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.6154, allocations: 3.5 kB / 0.7318 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.162e-05/0.6154, allocations: 10.12 kB / 0.7318 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.6154, allocations: 3.484 kB / 0.7318 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.886e-05/0.6155, allocations: 80.38 kB / 0.7319 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6155, allocations: 0 / 0.7319 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001953/0.6157, allocations: 17.19 kB / 0.7319 GB, free: 12.72 MB / 0.5606 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.0004431/0.6161, allocations: 0.6726 MB / 0.7325 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.6163, allocations: 60.14 kB / 0.7326 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6163, allocations: 5.125 kB / 0.7326 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.019e-05/0.6163, allocations: 24.22 kB / 0.7326 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.6165, allocations: 8.891 kB / 0.7326 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009396/0.6175, allocations: 0.6705 MB / 0.7333 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.6177, allocations: 0.6931 MB / 0.7339 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.881e-05/0.6178, allocations: 10.06 kB / 0.734 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.288e-05/0.6178, allocations: 17.47 kB / 0.734 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.6178, allocations: 0 / 0.734 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01152/0.6294, allocations: 1.448 MB / 0.7354 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001625/0.6295, allocations: 206.6 kB / 0.7356 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/2.283, allocations: 0 / 0.7356 GB, free: 10.46 MB / 0.5606 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: