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.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.008177/0.008177, allocations: 100.5 kB / 15.73 MB, free: 6.059 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.00226/0.00226, allocations: 198.8 kB / 16.68 MB, free: 5.984 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.017/1.017, allocations: 143.3 MB / 433.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002586/0.002586, allocations: 75.89 kB / 0.5953 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3608, allocations: 82.03 MB / 0.6754 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001903/0.3628, allocations: 1.268 MB / 0.6766 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.167/0.5298, allocations: 147 MB / 0.8202 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.203e-05/0.5299, allocations: 0 / 0.8202 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.386e-05/0.5299, allocations: 3.984 kB / 0.8202 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 4.879e-05/0.53, allocations: 7.938 kB / 0.8202 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.5304, allocations: 87.56 kB / 0.8203 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 7.361e-05/0.5305, allocations: 31.91 kB / 0.8203 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.198e-05/0.5305, allocations: 8 kB / 0.8203 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.248e-05/0.5306, allocations: 19.92 kB / 0.8204 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 5.557e-05/0.5306, allocations: 7.984 kB / 0.8204 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.5306, allocations: 7.938 kB / 0.8204 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002392/0.5309, allocations: 79.77 kB / 0.8204 GB, free: 1.102 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.5309, allocations: 7.984 kB / 0.8205 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.5309, allocations: 15.92 kB / 0.8205 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.5311, allocations: 68.66 kB / 0.8205 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5311, allocations: 0 / 0.8205 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5311, allocations: 0 / 0.8205 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.5311, allocations: 4 kB / 0.8205 GB, free: 1.012 MB / 0.6387 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.0004035/0.5315, allocations: 351.3 kB / 0.8209 GB, free: 0.6211 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.5316, allocations: 12.03 kB / 0.8209 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/0.5316, allocations: 38.73 kB / 0.8209 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.5318, allocations: 8.938 kB / 0.8209 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.5319, allocations: 164.1 kB / 0.8211 GB, free: 364 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.532, allocations: 4 kB / 0.8211 GB, free: 360 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.532, allocations: 15.94 kB / 0.8211 GB, free: 344 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.5321, allocations: 57.61 kB / 0.8212 GB, free: 280 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.5321, allocations: 0 / 0.8212 GB, free: 280 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.5322, allocations: 0 / 0.8212 GB, free: 280 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.5322, allocations: 0 / 0.8212 GB, free: 280 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.548e-05/0.5322, allocations: 15.98 kB / 0.8212 GB, free: 264 kB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.5324, allocations: 173.5 kB / 0.8213 GB, free: 40 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.5325, allocations: 50.62 kB / 0.8214 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.328e-05/0.5325, allocations: 16.86 kB / 0.8214 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.5326, allocations: 3.938 kB / 0.8214 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.5326, allocations: 42.56 kB / 0.8214 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.5326, allocations: 0 / 0.8214 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0007101/0.5333, allocations: 370.1 kB / 0.8218 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.5334, allocations: 51.41 kB / 0.8218 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.602e-05/0.5334, allocations: 97.86 kB / 0.8219 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.5335, allocations: 29.7 kB / 0.822 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.5335, allocations: 88.08 kB / 0.8221 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.5336, allocations: 39.83 kB / 0.8221 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.5336, allocations: 29.7 kB / 0.8221 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.5337, allocations: 322.8 kB / 0.8224 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.733e-05/0.5338, allocations: 19.98 kB / 0.8224 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.505e-05/0.5338, allocations: 45.77 kB / 0.8225 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.889e-05/0.5339, allocations: 58.25 kB / 0.8225 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.5339, allocations: 0 / 0.8225 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000138/0.5341, allocations: 97.56 kB / 0.8226 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.5341, allocations: 4 kB / 0.8226 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.5341, allocations: 3.984 kB / 0.8226 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.5341, allocations: 0 / 0.8226 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.5343, allocations: 24 kB / 0.8227 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.5343, allocations: 0 / 0.8227 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.985e-05/0.5343, allocations: 4 kB / 0.8227 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.5343, allocations: 7.938 kB / 0.8227 GB, free: 14.52 MB / 0.6544 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 8.523e-05/0.5344, allocations: 121.8 kB / 0.8228 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.5344, allocations: 7.953 kB / 0.8228 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.5345, allocations: 11.97 kB / 0.8228 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5345, allocations: 3.938 kB / 0.8228 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5345, allocations: 0 / 0.8228 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.5345, allocations: 0 / 0.8228 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.5346, allocations: 173.6 kB / 0.823 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5346, allocations: 4 kB / 0.823 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.5348, allocations: 20 kB / 0.823 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.5348, allocations: 3.984 kB / 0.823 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.5348, allocations: 4 kB / 0.823 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5348, allocations: 0 / 0.823 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5348, allocations: 0 / 0.823 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.535, allocations: 129 kB / 0.8231 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-05/0.5351, allocations: 93.09 kB / 0.8232 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.5351, allocations: 7.938 kB / 0.8232 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.219e-05/0.5352, allocations: 4 kB / 0.8232 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-05/0.5352, allocations: 11.98 kB / 0.8233 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.5352, allocations: 0 / 0.8233 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.756e-05/0.5353, allocations: 83.22 kB / 0.8233 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5353, allocations: 0 / 0.8233 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000192/0.5355, allocations: 16 kB / 0.8233 GB, free: 13.75 MB / 0.6544 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.0004604/0.5359, allocations: 0.6712 MB / 0.824 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001329/0.5361, allocations: 63.84 kB / 0.8241 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5361, allocations: 3.938 kB / 0.8241 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.291e-05/0.5361, allocations: 27.98 kB / 0.8241 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.5363, allocations: 8 kB / 0.8241 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.5377, allocations: 1.446 MB / 0.8255 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.538, allocations: 0.6885 MB / 0.8262 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.33e-05/0.538, allocations: 12.66 kB / 0.8262 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.5381, allocations: 15.44 kB / 0.8262 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.5381, allocations: 0 / 0.8262 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.5596, allocations: 1.696 MB / 0.8279 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.891/8.45, allocations: 12.61 kB / 0.8279 GB, free: 9.109 MB / 0.6544 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)