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.001487/0.001487, allocations: 106.5 kB / 16.45 MB, free: 6.508 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.00147/0.00147, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.535/1.535, allocations: 230.6 MB / 252.8 MB, free: 9.109 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.9168/0.9168, allocations: 145 MB / 453.8 MB, free: 1.082 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.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.001959/0.001959, allocations: 70.36 kB / 0.628 GB, free: 10.85 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1942, allocations: 87.83 MB / 0.7138 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6737/0.8679, allocations: 197.8 MB / 0.9069 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01262/0.8805, allocations: 6.964 MB / 0.9137 GB, free: 3.762 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/0.882, allocations: 67.38 kB / 0.9138 GB, free: 3.695 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001979/0.884, allocations: 0.7064 MB / 0.9145 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008257/0.8923, allocations: 2.452 MB / 0.9169 GB, free: 0.5273 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004178/0.8965, allocations: 1.419 MB / 0.9183 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0052/0.9017, allocations: 3.002 MB / 0.9212 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/0.903, allocations: 0.739 MB / 0.9219 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003114/0.9061, allocations: 1.17 MB / 0.9231 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.9075, allocations: 0.8507 MB / 0.9239 GB, free: 9.359 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.9077, allocations: 103.9 kB / 0.924 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004652/0.9123, allocations: 2.159 MB / 0.9261 GB, free: 7.094 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005726/0.9129, allocations: 378.7 kB / 0.9265 GB, free: 6.723 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0008949/0.9138, allocations: 0.5869 MB / 0.927 GB, free: 6.133 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005918/0.9197, allocations: 2.519 MB / 0.9295 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.9197, allocations: 0 / 0.9295 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of FrontEnd: time 4.028e-06/0.9197, allocations: 0 / 0.9295 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.005e-05/0.9197, allocations: 0 / 0.9295 GB, free: 3.605 MB / 0.7012 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.004173/0.9239, allocations: 1.673 MB / 0.9311 GB, free: 1.867 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.9239, allocations: 8.031 kB / 0.9311 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001858/0.9241, allocations: 118.4 kB / 0.9313 GB, free: 1.734 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003118/0.9273, allocations: 0.5377 MB / 0.9318 GB, free: 1.195 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002633/0.9299, allocations: 1.054 MB / 0.9328 GB, free: 104 kB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.432e-05/0.93, allocations: 57.3 kB / 0.9329 GB, free: 48 kB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.9301, allocations: 72.08 kB / 0.9329 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002753/0.9329, allocations: 1.105 MB / 0.934 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.9329, allocations: 8.875 kB / 0.934 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.519e-05/0.933, allocations: 27.91 kB / 0.934 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.861e-05/0.933, allocations: 29.31 kB / 0.9341 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003276/0.9363, allocations: 1.161 MB / 0.9352 GB, free: 13.62 MB / 0.7169 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.006425/0.9427, allocations: 3.177 MB / 0.9383 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.9446, allocations: 0.649 MB / 0.9389 GB, free: 9.711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008364/0.9454, allocations: 398.1 kB / 0.9393 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/0.9465, allocations: 1.021 MB / 0.9403 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/0.9476, allocations: 0.5182 MB / 0.9408 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=57): time 2.535e-06/0.9476, allocations: 0 / 0.9408 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=57): time 0.003266/0.9508, allocations: 1.225 MB / 0.942 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/0.951, allocations: 148.8 kB / 0.9422 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/0.9531, allocations: 1.18 MB / 0.9433 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.074e-05/0.9532, allocations: 37.7 kB / 0.9434 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004778/0.9537, allocations: 445.7 kB / 0.9438 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/0.9539, allocations: 190.4 kB / 0.944 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003233/0.9542, allocations: 146.1 kB / 0.9441 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001902/0.9544, allocations: 334 kB / 0.9444 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.9557, allocations: 436.9 kB / 0.9448 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.9572, allocations: 0.6079 MB / 0.9454 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/0.9594, allocations: 0.9223 MB / 0.9463 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.9594, allocations: 0 / 0.9463 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003309/0.9627, allocations: 1.202 MB / 0.9475 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.015e-05/0.9628, allocations: 41.69 kB / 0.9475 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.9628, allocations: 7.984 kB / 0.9476 GB, free: 452 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.9628, allocations: 4 kB / 0.9476 GB, free: 448 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009301/0.9638, allocations: 188 kB / 0.9477 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.9638, allocations: 11.94 kB / 0.9477 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.9653, allocations: 251.1 kB / 0.948 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.311e-05/0.9654, allocations: 39.92 kB / 0.948 GB, free: 15.96 MB / 0.7325 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.0005958/0.966, allocations: 323.4 kB / 0.9483 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002362/0.9663, allocations: 119.2 kB / 0.9484 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002343/0.9686, allocations: 0.9997 MB / 0.9494 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.9686, allocations: 7.984 kB / 0.9494 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.9686, allocations: 3.938 kB / 0.9494 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.9686, allocations: 7.938 kB / 0.9494 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005304/0.974, allocations: 3.159 MB / 0.9525 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/0.974, allocations: 8 kB / 0.9525 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005976/0.9746, allocations: 119.8 kB / 0.9526 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/0.9746, allocations: 8 kB / 0.9527 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-05/0.9746, allocations: 32.17 kB / 0.9527 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-05/0.9746, allocations: 15.94 kB / 0.9527 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.179e-05/0.9747, allocations: 11.94 kB / 0.9527 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/0.9771, allocations: 1.357 MB / 0.954 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006031/0.9777, allocations: 340 kB / 0.9544 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.9779, allocations: 20 kB / 0.9544 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.979, allocations: 99.91 kB / 0.9545 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.9791, allocations: 59.75 kB / 0.9545 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.377e-05/0.9792, allocations: 39.97 kB / 0.9546 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001609/0.9808, allocations: 0.8482 MB / 0.9554 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9808, allocations: 3.938 kB / 0.9554 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001208/0.982, allocations: 299.6 kB / 0.9557 GB, free: 7.785 MB / 0.7325 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.9854, allocations: 2.134 MB / 0.9578 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002618/0.988, allocations: 0.9665 MB / 0.9587 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/0.988, allocations: 8.125 kB / 0.9587 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009876/0.989, allocations: 476.7 kB / 0.9592 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/0.992, allocations: 0.5547 MB / 0.9597 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01992/1.012, allocations: 9.411 MB / 0.9689 GB, free: 9.707 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009539/1.013, allocations: 1.069 MB / 0.97 GB, free: 8.602 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001252/1.014, allocations: 266.8 kB / 0.9702 GB, free: 8.34 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006279/1.015, allocations: 359.3 kB / 0.9706 GB, free: 7.988 MB / 0.7481 GB Notification: Performance of SimCode: time 1.864e-06/1.015, allocations: 3.938 kB / 0.9706 GB, free: 7.984 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07533/1.09, allocations: 32.04 MB / 1.002 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.99, allocations: 11.86 kB / 1.002 GB, free: 8.324 MB / 0.7794 GB " [Timeout remaining time 648] (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: 15.98515561199747] Failed to read output from testmodel.py, exit status != 0: 12.086846972000785 12.10978646 11.185669757 Calling exit ...