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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 107.6 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.515/1.515, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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.7.0/package.mo): time 0.961/0.961, allocations: 145 MB / 453.8 MB, free: 1.105 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 69.27 kB / 0.628 GB, free: 10.79 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.206, allocations: 87.83 MB / 0.7138 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamDerivativeCheck): time 0.002625/0.2086, allocations: 1.282 MB / 0.715 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5614/0.7701, allocations: 141 MB / 0.8527 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.775e-05/0.7701, allocations: 0 / 0.8527 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.608e-05/0.7701, allocations: 4 kB / 0.8527 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 4.988e-05/0.7702, allocations: 7.922 kB / 0.8527 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.7716, allocations: 471.5 kB / 0.8532 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 9.99e-05/0.7717, allocations: 39.91 kB / 0.8532 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.515e-05/0.7718, allocations: 13.03 kB / 0.8532 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 6.447e-05/0.7718, allocations: 27.86 kB / 0.8532 GB, free: 1.547 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 9.148e-05/0.7719, allocations: 23.91 kB / 0.8533 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.7719, allocations: 0 / 0.8533 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.7735, allocations: 0.8349 MB / 0.8541 GB, free: 0.6875 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.316e-05/0.7735, allocations: 8 kB / 0.8541 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.7735, allocations: 19.91 kB / 0.8541 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0006441/0.7742, allocations: 449.3 kB / 0.8545 GB, free: 232 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.7742, allocations: 0 / 0.8545 GB, free: 232 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7742, allocations: 0 / 0.8545 GB, free: 232 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.7742, allocations: 0 / 0.8545 GB, free: 232 kB / 0.6231 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.0006137/0.7748, allocations: 372 kB / 0.8549 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.7748, allocations: 12.03 kB / 0.8549 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.951e-05/0.7749, allocations: 38.75 kB / 0.8549 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.7751, allocations: 13.8 kB / 0.8549 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.7752, allocations: 168.3 kB / 0.8551 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.7752, allocations: 0.5625 kB / 0.8551 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.7753, allocations: 11.94 kB / 0.8551 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.7754, allocations: 57.59 kB / 0.8552 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.7754, allocations: 0.75 kB / 0.8552 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.7754, allocations: 8 kB / 0.8552 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.7755, allocations: 0 / 0.8552 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.994e-05/0.7755, allocations: 23.98 kB / 0.8552 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.7757, allocations: 157.7 kB / 0.8554 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.7758, allocations: 49.31 kB / 0.8554 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.194e-05/0.7759, allocations: 20.8 kB / 0.8554 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01209/0.788, allocations: 3.205 MB / 0.8586 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.852e-05/0.788, allocations: 36.94 kB / 0.8586 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 2.365e-06/0.788, allocations: 11.94 kB / 0.8586 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.0439/0.8319, allocations: 15 MB / 0.8732 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.832, allocations: 51.41 kB / 0.8733 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/0.8321, allocations: 97.86 kB / 0.8734 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.8321, allocations: 29.7 kB / 0.8734 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.8321, allocations: 80.14 kB / 0.8735 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.44e-05/0.8322, allocations: 47.62 kB / 0.8735 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.432e-05/0.8323, allocations: 29.7 kB / 0.8736 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.8324, allocations: 318.8 kB / 0.8739 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.593e-05/0.8324, allocations: 23.98 kB / 0.8739 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.591e-05/0.8325, allocations: 26.69 kB / 0.8739 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.8326, allocations: 68.91 kB / 0.874 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.8326, allocations: 0 / 0.874 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002518/0.8329, allocations: 109.6 kB / 0.8741 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.8329, allocations: 8 kB / 0.8741 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.8329, allocations: 0 / 0.8741 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.8329, allocations: 0 / 0.8741 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.8331, allocations: 23.98 kB / 0.8741 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.8331, allocations: 0 / 0.8741 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.778e-05/0.8331, allocations: 4 kB / 0.8741 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.8331, allocations: 7.938 kB / 0.8741 GB, free: 11.69 MB / 0.6544 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 9.366e-05/0.8332, allocations: 121.8 kB / 0.8743 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.8333, allocations: 4 kB / 0.8743 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002837/0.8335, allocations: 117.6 kB / 0.8744 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.8335, allocations: 7.938 kB / 0.8744 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8335, allocations: 0 / 0.8744 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.8335, allocations: 4 kB / 0.8744 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.8337, allocations: 177.6 kB / 0.8745 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8337, allocations: 3.938 kB / 0.8746 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.8338, allocations: 27.92 kB / 0.8746 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.8338, allocations: 0 / 0.8746 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.8339, allocations: 4 kB / 0.8746 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.8339, allocations: 0 / 0.8746 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.8339, allocations: 3.938 kB / 0.8746 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.8342, allocations: 157 kB / 0.8747 GB, free: 11 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.144e-05/0.8343, allocations: 93.09 kB / 0.8748 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.8343, allocations: 3.984 kB / 0.8748 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.8344, allocations: 12 kB / 0.8748 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.373e-05/0.8345, allocations: 15.86 kB / 0.8749 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.8345, allocations: 4 kB / 0.8749 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.21e-05/0.8345, allocations: 75.28 kB / 0.8749 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8345, allocations: 4.094 kB / 0.8749 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002035/0.8365, allocations: 0.5699 MB / 0.8755 GB, free: 10.2 MB / 0.6544 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.003684/0.8402, allocations: 0.9466 MB / 0.8764 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002084/0.8404, allocations: 59.92 kB / 0.8765 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.8404, allocations: 0 / 0.8765 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.15e-05/0.8405, allocations: 39.92 kB / 0.8765 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.8407, allocations: 4 kB / 0.8765 GB, free: 9.129 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.843, allocations: 1.553 MB / 0.878 GB, free: 7.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.8434, allocations: 0.6846 MB / 0.8787 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.783e-05/0.8435, allocations: 28.47 kB / 0.8787 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.605e-05/0.8435, allocations: 23.44 kB / 0.8787 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of SimCode: time 3.9e-07/0.8435, allocations: 0 / 0.8787 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06379/0.9073, allocations: 25.56 MB / 0.9037 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.726/9.633, allocations: 11.44 kB / 0.9037 GB, free: 13.32 MB / 0.6856 GB " [Timeout remaining time 650] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.110420158991474] Failed to read output from testmodel.py, exit status != 0: 9.710743154995725 9.724015361 8.947021147 Calling exit ...