Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.001375/0.001375, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001538/0.001538, allocations: 215.7 kB / 22.24 MB, free: 5.246 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.789 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.9875/0.9875, allocations: 145 MB / 457.4 MB, free: 15.28 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.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",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.00211/0.00211, allocations: 66.78 kB / 0.6331 GB, free: 6.688 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.201, allocations: 87.88 MB / 0.7189 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6252/0.8262, allocations: 171.9 MB / 0.8868 GB, free: 15.91 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01195/0.8382, allocations: 6.575 MB / 0.8933 GB, free: 9.328 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.8396, allocations: 63.38 kB / 0.8933 GB, free: 9.266 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.8414, allocations: 0.6909 MB / 0.894 GB, free: 8.57 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006208/0.8476, allocations: 2.427 MB / 0.8964 GB, free: 6.133 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004014/0.8516, allocations: 1.448 MB / 0.8978 GB, free: 4.711 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004494/0.8561, allocations: 3.03 MB / 0.9007 GB, free: 1.672 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.8573, allocations: 0.6868 MB / 0.9014 GB, free: 0.9766 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00296/0.8603, allocations: 1.198 MB / 0.9026 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001547/0.8618, allocations: 0.8069 MB / 0.9034 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001872/0.862, allocations: 100 kB / 0.9035 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003835/0.8659, allocations: 1.695 MB / 0.9051 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004773/0.8663, allocations: 374.8 kB / 0.9055 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005563/0.8669, allocations: 485.6 kB / 0.9059 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003498/0.8704, allocations: 2.453 MB / 0.9083 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.8704, allocations: 0 / 0.9083 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of FrontEnd: time 4.228e-06/0.8704, allocations: 4 kB / 0.9083 GB, free: 9.871 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.487e-05/0.8704, allocations: 3.938 kB / 0.9083 GB, free: 9.867 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003449/0.8739, allocations: 1.594 MB / 0.9099 GB, free: 8.227 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.8739, allocations: 11.97 kB / 0.9099 GB, free: 8.215 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000173/0.8741, allocations: 122.4 kB / 0.91 GB, free: 8.086 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002805/0.8769, allocations: 0.5388 MB / 0.9106 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/0.8793, allocations: 0.9716 MB / 0.9115 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.517e-05/0.8794, allocations: 53.31 kB / 0.9116 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.8795, allocations: 71.98 kB / 0.9116 GB, free: 6.43 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/0.882, allocations: 1.23 MB / 0.9128 GB, free: 5.141 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.8821, allocations: 11.88 kB / 0.9128 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-05/0.8821, allocations: 24 kB / 0.9129 GB, free: 5.105 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.714e-05/0.8822, allocations: 33.3 kB / 0.9129 GB, free: 5.074 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003038/0.8852, allocations: 1.19 MB / 0.914 GB, free: 3.879 MB / 0.6856 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.00564/0.8909, allocations: 2.895 MB / 0.9169 GB, free: 0.9141 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.8926, allocations: 0.6701 MB / 0.9175 GB, free: 236 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008255/0.8934, allocations: 426.2 kB / 0.9179 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000484/0.8939, allocations: 132.3 kB / 0.9181 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001166/0.895, allocations: 0.655 MB / 0.9187 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=57): time 2.205e-06/0.895, allocations: 0 / 0.9187 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of matching and sorting (n=57): time 0.003219/0.8983, allocations: 1.291 MB / 0.92 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.8984, allocations: 140.9 kB / 0.9201 GB, free: 13.48 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002157/0.9005, allocations: 1.188 MB / 0.9213 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.28e-05/0.9006, allocations: 41.7 kB / 0.9213 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004409/0.9011, allocations: 437.8 kB / 0.9217 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.9013, allocations: 202.2 kB / 0.9219 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000299/0.9016, allocations: 150.2 kB / 0.9221 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.9017, allocations: 326 kB / 0.9224 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.903, allocations: 470.7 kB / 0.9228 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/0.9048, allocations: 0.9784 MB / 0.9238 GB, free: 9.539 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002167/0.9069, allocations: 0.9332 MB / 0.9247 GB, free: 8.551 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.9069, allocations: 0 / 0.9247 GB, free: 8.551 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003175/0.9101, allocations: 1.241 MB / 0.9259 GB, free: 7.293 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.128e-05/0.9102, allocations: 37.7 kB / 0.9259 GB, free: 7.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.9102, allocations: 4 kB / 0.9259 GB, free: 7.246 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.9102, allocations: 4 kB / 0.9259 GB, free: 7.242 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009179/0.9111, allocations: 188 kB / 0.9261 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.081e-05/0.9112, allocations: 15.92 kB / 0.9261 GB, free: 7.043 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.9126, allocations: 243.1 kB / 0.9264 GB, free: 6.805 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-05/0.9127, allocations: 43.91 kB / 0.9264 GB, free: 6.762 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0005536/0.9133, allocations: 328.8 kB / 0.9267 GB, free: 6.426 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002521/0.9135, allocations: 119.2 kB / 0.9268 GB, free: 6.309 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/0.9158, allocations: 1.028 MB / 0.9278 GB, free: 5.266 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.9158, allocations: 8 kB / 0.9278 GB, free: 5.258 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.9158, allocations: 3.938 kB / 0.9278 GB, free: 5.254 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.9159, allocations: 3.984 kB / 0.9278 GB, free: 5.25 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005388/0.9212, allocations: 3.011 MB / 0.9308 GB, free: 2.086 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-05/0.9213, allocations: 4 kB / 0.9308 GB, free: 2.082 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/0.9219, allocations: 124 kB / 0.9309 GB, free: 1.961 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.629e-05/0.9219, allocations: 12 kB / 0.9309 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.907e-05/0.9219, allocations: 23.98 kB / 0.9309 GB, free: 1.926 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.755e-05/0.922, allocations: 19.94 kB / 0.931 GB, free: 1.906 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.487e-05/0.922, allocations: 11.94 kB / 0.931 GB, free: 1.895 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.9244, allocations: 1.391 MB / 0.9323 GB, free: 388 kB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006774/0.925, allocations: 262.8 kB / 0.9326 GB, free: 124 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/0.9253, allocations: 27.98 kB / 0.9326 GB, free: 96 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.9264, allocations: 95.91 kB / 0.9327 GB, free: 0 / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.9265, allocations: 67.81 kB / 0.9328 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.264e-05/0.9266, allocations: 39.97 kB / 0.9328 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001577/0.9282, allocations: 0.8443 MB / 0.9336 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9282, allocations: 0 / 0.9336 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001106/0.9293, allocations: 303.6 kB / 0.9339 GB, free: 14.74 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.003383/0.9327, allocations: 2.157 MB / 0.936 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002586/0.9353, allocations: 1.036 MB / 0.937 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/0.9353, allocations: 8.125 kB / 0.937 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009883/0.9363, allocations: 0.5102 MB / 0.9375 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/0.9391, allocations: 0.5552 MB / 0.9381 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01895/0.958, allocations: 9.588 MB / 0.9474 GB, free: 308 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000751/0.9588, allocations: 478.6 kB / 0.9479 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001335/0.9601, allocations: 277 kB / 0.9482 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006596/0.9608, allocations: 367.2 kB / 0.9485 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of SimCode: time 1.472e-06/0.9608, allocations: 0 / 0.9485 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08152/1.042, allocations: 34.68 MB / 0.9824 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.8, allocations: 11.92 kB / 0.9824 GB, free: 13.04 MB / 0.7637 GB " [Timeout remaining time 646] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.81533576687798] Failed to read output from testmodel.py, exit status != 0: 13.930486638098955 13.959550485 13.083878851 Calling exit ...