Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.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.001734/0.001734, allocations: 114.6 kB / 18.94 MB, free: 2.789 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.002148/0.002148, allocations: 223.5 kB / 22.26 MB, free: 5.211 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 8.012 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.8999/0.8999, allocations: 145 MB / 457.4 MB, free: 15.54 MB / 366.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.Fluid.Sensors.Examples.PPM,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM",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.002072/0.002072, allocations: 74.8 kB / 0.6332 GB, free: 7.348 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1625, allocations: 87.88 MB / 0.719 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM): time 0.5676/0.7301, allocations: 219.1 MB / 0.933 GB, free: 2.207 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02824/0.7583, allocations: 21.63 MB / 0.9541 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001842/0.7602, allocations: 75.38 kB / 0.9542 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002534/0.7627, allocations: 0.7687 MB / 0.9549 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01115/0.7739, allocations: 4.493 MB / 0.9593 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003043/0.7769, allocations: 1.127 MB / 0.9604 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005816/0.7827, allocations: 4.015 MB / 0.9643 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002285/0.785, allocations: 1.172 MB / 0.9655 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00371/0.7887, allocations: 1.693 MB / 0.9671 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003879/0.7926, allocations: 1.663 MB / 0.9688 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004835/0.7931, allocations: 160 kB / 0.9689 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004357/0.7974, allocations: 1.976 MB / 0.9708 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001122/0.7986, allocations: 0.7557 MB / 0.9716 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001614/0.8002, allocations: 0.9644 MB / 0.9725 GB, free: 9.578 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005381/0.8056, allocations: 3.052 MB / 0.9755 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.8056, allocations: 0 / 0.9755 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8056, allocations: 0 / 0.9755 GB, free: 6.516 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.434e-05/0.8056, allocations: 0 / 0.9755 GB, free: 6.516 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.003863/0.8095, allocations: 2.018 MB / 0.9775 GB, free: 4.457 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.8095, allocations: 8.031 kB / 0.9775 GB, free: 4.449 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003078/0.8098, allocations: 206.1 kB / 0.9777 GB, free: 4.238 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002347/0.8122, allocations: 403.2 kB / 0.9781 GB, free: 3.844 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002637/0.8148, allocations: 1.08 MB / 0.9791 GB, free: 2.707 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.607e-05/0.8149, allocations: 106.5 kB / 0.9792 GB, free: 2.602 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002548/0.8152, allocations: 128 kB / 0.9793 GB, free: 2.477 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002883/0.8181, allocations: 1.594 MB / 0.9809 GB, free: 0.8086 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.723e-05/0.8181, allocations: 3.938 kB / 0.9809 GB, free: 0.8047 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/0.8182, allocations: 52 kB / 0.9809 GB, free: 0.7539 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.24e-05/0.8183, allocations: 54.44 kB / 0.981 GB, free: 0.6992 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002286/0.8206, allocations: 1.295 MB / 0.9823 GB, free: 15.4 MB / 0.7637 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009443/0.83, allocations: 6.417 MB / 0.9885 GB, free: 8.562 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.8316, allocations: 0.9108 MB / 0.9894 GB, free: 7.648 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000714/0.8323, allocations: 458.5 kB / 0.9899 GB, free: 7.199 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006046/0.8329, allocations: 104.5 kB / 0.99 GB, free: 7.094 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.833, allocations: 40.09 kB / 0.99 GB, free: 7.047 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=82): time 2.495e-06/0.833, allocations: 0 / 0.99 GB, free: 7.047 MB / 0.7637 GB Notification: Performance of matching and sorting (n=84): time 0.005729/0.8387, allocations: 2.669 MB / 0.9926 GB, free: 4.332 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.8388, allocations: 60.41 kB / 0.9927 GB, free: 4.262 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.8405, allocations: 1.201 MB / 0.9938 GB, free: 3.043 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001289/0.8406, allocations: 45.7 kB / 0.9939 GB, free: 2.992 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005796/0.8412, allocations: 0.689 MB / 0.9945 GB, free: 2.297 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/0.8415, allocations: 313.3 kB / 0.9948 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002999/0.8418, allocations: 194.6 kB / 0.995 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.842, allocations: 357.9 kB / 0.9954 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006228/0.8426, allocations: 369.8 kB / 0.9957 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009336/0.8436, allocations: 0.719 MB / 0.9964 GB, free: 220 kB / 0.7637 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (sin.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01227/0.8558, allocations: 2.848 MB / 0.9992 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.8558, allocations: 7.938 kB / 0.9992 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002294/0.8581, allocations: 1.288 MB / 1 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.8581, allocations: 8.781 kB / 1 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.8582, allocations: 10.19 kB / 1 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003142/0.8585, allocations: 138.4 kB / 1.001 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008408/0.8593, allocations: 207.7 kB / 1.001 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004776/0.8641, allocations: 5.073 MB / 1.006 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.8653, allocations: 47.92 kB / 1.006 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.8655, allocations: 44 kB / 1.006 GB, free: 6.082 MB / 0.7794 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (116): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007629/0.8662, allocations: 438.5 kB / 1.006 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002753/0.8665, allocations: 147.1 kB / 1.006 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/0.8684, allocations: 1.089 MB / 1.007 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.8685, allocations: 8 kB / 1.007 GB, free: 4.387 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.8685, allocations: 0 / 1.007 GB, free: 4.387 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001502/0.87, allocations: 1.054 MB / 1.009 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005744/0.8757, allocations: 2.83 MB / 1.011 GB, free: 312 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.699e-06/0.8757, allocations: 4 kB / 1.011 GB, free: 308 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007575/0.8765, allocations: 160.9 kB / 1.011 GB, free: 148 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002604/0.8767, allocations: 127.1 kB / 1.012 GB, free: 12 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.543e-05/0.8768, allocations: 32.06 kB / 1.012 GB, free: 15.98 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004526/0.8813, allocations: 5.055 MB / 1.017 GB, free: 10.59 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.128e-06/0.8813, allocations: 11.94 kB / 1.017 GB, free: 10.57 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/0.884, allocations: 1.743 MB / 1.018 GB, free: 8.73 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007096/0.8847, allocations: 246.9 kB / 1.018 GB, free: 8.488 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.8849, allocations: 24 kB / 1.019 GB, free: 8.465 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007597/0.8857, allocations: 30.39 kB / 1.019 GB, free: 8.438 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.8858, allocations: 88.19 kB / 1.019 GB, free: 8.348 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.974e-05/0.8859, allocations: 28 kB / 1.019 GB, free: 8.32 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001214/0.8871, allocations: 0.8499 MB / 1.019 GB, free: 7.469 MB / 0.795 GB Notification: Performance of sort global known variables: time 9e-08/0.8871, allocations: 0 / 1.019 GB, free: 7.469 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001522/0.8886, allocations: 411.9 kB / 1.02 GB, free: 7.066 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1],senPPMTwoPort.C,senPPMNoRev.C,senPPMRev.C) * 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 (75): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003262/0.8919, allocations: 2.423 MB / 1.022 GB, free: 4.543 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001991/0.8939, allocations: 1.256 MB / 1.023 GB, free: 3.25 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.8939, allocations: 0 / 1.023 GB, free: 3.25 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0009861/0.8948, allocations: 0.7778 MB / 1.024 GB, free: 2.434 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003942/0.8988, allocations: 0.8875 MB / 1.025 GB, free: 1.555 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0177/0.9165, allocations: 11.31 MB / 1.036 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/0.9176, allocations: 1.348 MB / 1.037 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001255/0.9189, allocations: 344.7 kB / 1.038 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008403/0.9197, allocations: 0.55 MB / 1.038 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of SimCode: time 1.052e-06/0.9197, allocations: 4 kB / 1.038 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4319/1.352, allocations: 44.72 MB / 1.082 GB, free: 305.4 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.37/16.73, allocations: 3.031 kB / 1.082 GB, free: 305.4 MB / 0.8419 GB " [Timeout remaining time 643] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.491409672998998] Failed to read output from testmodel.py, exit status != 0: 16.87230752400137 16.896699752 16.086549988 Calling exit ...