Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.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.Examples.SteamDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck",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.004554/0.004554, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001247/0.001247, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.22 MB / 206.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 0.8933/0.8933, allocations: 143.3 MB / 433.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001791, allocations: 68.95 kB / 0.5953 GB, free: 12.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.153, allocations: 82.03 MB / 0.6754 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck): time 0.003033/0.1561, allocations: 1.269 MB / 0.6766 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5378/0.6939, allocations: 137.7 MB / 0.8111 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.151e-05/0.6941, allocations: 0 / 0.8111 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.484e-05/0.6941, allocations: 3.938 kB / 0.8111 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.456e-05/0.6941, allocations: 6.094 kB / 0.8111 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.6953, allocations: 465.8 kB / 0.8116 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.67e-05/0.6954, allocations: 42.78 kB / 0.8116 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.584e-05/0.6954, allocations: 8.656 kB / 0.8116 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.598e-05/0.6954, allocations: 15.67 kB / 0.8116 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.937e-05/0.6955, allocations: 23.52 kB / 0.8117 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.6955, allocations: 2.062 kB / 0.8117 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.6968, allocations: 0.831 MB / 0.8125 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.43e-05/0.6968, allocations: 8.734 kB / 0.8125 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.6969, allocations: 17.88 kB / 0.8125 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005406/0.6974, allocations: 446.7 kB / 0.8129 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6974, allocations: 1.406 kB / 0.8129 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.502e-06/0.6974, allocations: 0 / 0.8129 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.6975, allocations: 4 kB / 0.8129 GB, free: 8.082 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.0005164/0.698, allocations: 373 kB / 0.8133 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.698, allocations: 8.938 kB / 0.8133 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.451e-05/0.6981, allocations: 39.62 kB / 0.8133 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.6983, allocations: 12.98 kB / 0.8133 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.6984, allocations: 164.3 kB / 0.8135 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.6984, allocations: 9 kB / 0.8135 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.6984, allocations: 6.438 kB / 0.8135 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.6986, allocations: 68.92 kB / 0.8136 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.6986, allocations: 0 / 0.8136 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.6986, allocations: 0 / 0.8136 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.6986, allocations: 1.906 kB / 0.8136 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.124e-05/0.6987, allocations: 16.27 kB / 0.8136 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.6989, allocations: 173.4 kB / 0.8138 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.699, allocations: 54.47 kB / 0.8138 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.076e-05/0.699, allocations: 23.23 kB / 0.8138 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01089/0.7099, allocations: 3.201 MB / 0.817 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.71, allocations: 30.56 kB / 0.817 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.71, allocations: 0 / 0.817 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.04094/0.7509, allocations: 15.01 MB / 0.8316 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.751, allocations: 63.33 kB / 0.8317 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.069e-05/0.7511, allocations: 89.86 kB / 0.8318 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.7511, allocations: 29.7 kB / 0.8318 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.7512, allocations: 80.14 kB / 0.8319 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.116e-05/0.7512, allocations: 51.56 kB / 0.8319 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.282e-05/0.7513, allocations: 29.84 kB / 0.832 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.7515, allocations: 322.8 kB / 0.8323 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.657e-05/0.7515, allocations: 27.98 kB / 0.8323 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.132e-05/0.7516, allocations: 18 kB / 0.8323 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.7517, allocations: 71.09 kB / 0.8324 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.7517, allocations: 0 / 0.8324 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002201/0.7519, allocations: 99.69 kB / 0.8325 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.752, allocations: 14.89 kB / 0.8325 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.752, allocations: 0 / 0.8325 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.752, allocations: 8 kB / 0.8325 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.7521, allocations: 20 kB / 0.8325 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.7521, allocations: 4 kB / 0.8325 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.376e-05/0.7522, allocations: 0 / 0.8325 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.7522, allocations: 7.984 kB / 0.8325 GB, free: 12.45 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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.974e-05/0.7523, allocations: 121.7 kB / 0.8327 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.7524, allocations: 7.953 kB / 0.8327 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.7526, allocations: 121.5 kB / 0.8328 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.7526, allocations: 0 / 0.8328 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7527, allocations: 0 / 0.8328 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.7527, allocations: 7.984 kB / 0.8328 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.7528, allocations: 173.6 kB / 0.833 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.7528, allocations: 4 kB / 0.833 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.753, allocations: 23.98 kB / 0.833 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.753, allocations: 4 kB / 0.833 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.753, allocations: 0 / 0.833 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.753, allocations: 5.688 kB / 0.833 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.753, allocations: 0 / 0.833 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.7533, allocations: 160.9 kB / 0.8331 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.475e-05/0.7534, allocations: 85.14 kB / 0.8332 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.7534, allocations: 8 kB / 0.8332 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.7536, allocations: 15.98 kB / 0.8332 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.7536, allocations: 7.984 kB / 0.8333 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.7536, allocations: 8 kB / 0.8333 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.563e-05/0.7537, allocations: 75.28 kB / 0.8333 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7537, allocations: 0 / 0.8333 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0017/0.7554, allocations: 0.5699 MB / 0.8339 GB, free: 10.96 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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.003442/0.7588, allocations: 0.948 MB / 0.8348 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001863/0.759, allocations: 67.97 kB / 0.8349 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7591, allocations: 3.938 kB / 0.8349 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.999e-05/0.7591, allocations: 35.98 kB / 0.8349 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.7593, allocations: 7.109 kB / 0.8349 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.7615, allocations: 1.545 MB / 0.8364 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.7618, allocations: 0.6884 MB / 0.8371 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.127e-05/0.7619, allocations: 24.53 kB / 0.8371 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.762, allocations: 27.44 kB / 0.8372 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of SimCode: time 4e-07/0.762, allocations: 0 / 0.8372 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05904/0.821, allocations: 25.53 MB / 0.8621 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.404/9.225, allocations: 7.516 kB / 0.8621 GB, free: 14.1 MB / 0.6387 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck.pipe 2>&1)