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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 109.2 kB / 16.4 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 192.5 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/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.8892/0.8892, allocations: 143.3 MB / 440.5 MB, free: 11.27 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.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.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: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 64.36 kB / 0.6038 GB, free: 11.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1641, allocations: 82.03 MB / 0.6839 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5557/0.7199, allocations: 194.1 MB / 0.8735 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01102/0.731, allocations: 6.936 MB / 0.8802 GB, free: 4.32 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.7323, allocations: 43.69 kB / 0.8803 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001792/0.7341, allocations: 0.6947 MB / 0.8809 GB, free: 3.578 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005817/0.74, allocations: 2.338 MB / 0.8832 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003401/0.7434, allocations: 1.433 MB / 0.8846 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004369/0.7478, allocations: 2.996 MB / 0.8876 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.7493, allocations: 0.8866 MB / 0.8884 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002659/0.752, allocations: 1.133 MB / 0.8895 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.7534, allocations: 0.8052 MB / 0.8903 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000211/0.7536, allocations: 100 kB / 0.8904 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003996/0.7576, allocations: 2.054 MB / 0.8924 GB, free: 7.84 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004415/0.7581, allocations: 374.8 kB / 0.8928 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007508/0.7588, allocations: 0.5908 MB / 0.8934 GB, free: 6.879 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004042/0.7629, allocations: 2.503 MB / 0.8958 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.7629, allocations: 4 kB / 0.8958 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7629, allocations: 0 / 0.8958 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.816e-05/0.763, allocations: 0 / 0.8958 GB, free: 4.367 MB / 0.6544 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.003752/0.7667, allocations: 1.681 MB / 0.8974 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.7668, allocations: 16.02 kB / 0.8975 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001465/0.7669, allocations: 114.4 kB / 0.8976 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002925/0.7699, allocations: 0.5338 MB / 0.8981 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002347/0.7722, allocations: 1.046 MB / 0.8991 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.202e-05/0.7723, allocations: 57.31 kB / 0.8992 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.7725, allocations: 67.98 kB / 0.8992 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002564/0.7751, allocations: 1.105 MB / 0.9003 GB, free: 15.61 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.7751, allocations: 3.938 kB / 0.9003 GB, free: 15.61 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.853e-05/0.7752, allocations: 28 kB / 0.9003 GB, free: 15.58 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-05/0.7752, allocations: 33.31 kB / 0.9004 GB, free: 15.55 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003258/0.7785, allocations: 1.168 MB / 0.9015 GB, free: 14.38 MB / 0.67 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.00627/0.7848, allocations: 3.179 MB / 0.9046 GB, free: 11.12 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.7867, allocations: 0.6946 MB / 0.9053 GB, free: 10.42 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008203/0.7876, allocations: 419.8 kB / 0.9057 GB, free: 10.01 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/0.7888, allocations: 1.017 MB / 0.9067 GB, free: 8.77 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001173/0.79, allocations: 0.526 MB / 0.9072 GB, free: 8.211 MB / 0.67 GB Notification: Performance of pre-optimization done (n=57): time 3.015e-06/0.79, allocations: 0 / 0.9072 GB, free: 8.211 MB / 0.67 GB Notification: Performance of matching and sorting (n=57): time 0.00329/0.7933, allocations: 1.221 MB / 0.9084 GB, free: 6.98 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.7934, allocations: 144.8 kB / 0.9085 GB, free: 6.809 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/0.7954, allocations: 1.176 MB / 0.9097 GB, free: 5.617 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.7956, allocations: 37.7 kB / 0.9097 GB, free: 5.574 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003976/0.796, allocations: 445.8 kB / 0.9101 GB, free: 5.133 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.7962, allocations: 198.3 kB / 0.9103 GB, free: 4.938 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000329/0.7965, allocations: 146.1 kB / 0.9105 GB, free: 4.789 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.7967, allocations: 329.9 kB / 0.9108 GB, free: 4.461 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.7979, allocations: 440.9 kB / 0.9112 GB, free: 4.031 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/0.7994, allocations: 0.6014 MB / 0.9118 GB, free: 3.383 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002117/0.8015, allocations: 0.9301 MB / 0.9127 GB, free: 2.398 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.8015, allocations: 0 / 0.9127 GB, free: 2.398 MB / 0.67 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00328/0.8048, allocations: 1.202 MB / 0.9139 GB, free: 1.18 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.682e-05/0.8049, allocations: 33.7 kB / 0.9139 GB, free: 1.141 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.8049, allocations: 8 kB / 0.9139 GB, free: 1.133 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.642e-05/0.805, allocations: 4 kB / 0.9139 GB, free: 1.129 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009257/0.8059, allocations: 192 kB / 0.9141 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/0.8059, allocations: 15.92 kB / 0.9141 GB, free: 0.9258 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.8074, allocations: 243.1 kB / 0.9143 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.476e-05/0.8076, allocations: 39.97 kB / 0.9144 GB, free: 0.6484 MB / 0.67 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.0005298/0.8081, allocations: 319.4 kB / 0.9147 GB, free: 328 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/0.8083, allocations: 119.2 kB / 0.9148 GB, free: 208 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/0.8106, allocations: 0.9962 MB / 0.9158 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.8106, allocations: 8 kB / 0.9158 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.8106, allocations: 4.453 kB / 0.9158 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.8107, allocations: 11.98 kB / 0.9158 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005166/0.8158, allocations: 3.159 MB / 0.9189 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/0.8159, allocations: 8 kB / 0.9189 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000608/0.8165, allocations: 124 kB / 0.919 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/0.8165, allocations: 12 kB / 0.919 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.82e-05/0.8166, allocations: 27.98 kB / 0.9191 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.455e-05/0.8166, allocations: 15.92 kB / 0.9191 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/0.8166, allocations: 11.94 kB / 0.9191 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002276/0.8189, allocations: 1.338 MB / 0.9204 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005521/0.8195, allocations: 343.9 kB / 0.9207 GB, free: 9.863 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.8196, allocations: 24 kB / 0.9207 GB, free: 9.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.8207, allocations: 103.9 kB / 0.9208 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.8208, allocations: 63.7 kB / 0.9209 GB, free: 9.676 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.987e-05/0.8209, allocations: 39.97 kB / 0.9209 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001521/0.8224, allocations: 0.8443 MB / 0.9218 GB, free: 8.785 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8224, allocations: 0 / 0.9218 GB, free: 8.785 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001007/0.8235, allocations: 299.7 kB / 0.922 GB, free: 8.492 MB / 0.6856 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.003258/0.8267, allocations: 2.135 MB / 0.9241 GB, free: 6.25 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002533/0.8293, allocations: 1.025 MB / 0.9251 GB, free: 5.215 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.8293, allocations: 4 kB / 0.9251 GB, free: 5.211 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009864/0.8303, allocations: 0.5087 MB / 0.9256 GB, free: 4.691 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002829/0.8331, allocations: 0.5527 MB / 0.9262 GB, free: 4.148 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/0.8507, allocations: 9.422 MB / 0.9354 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007704/0.8515, allocations: 1.061 MB / 0.9364 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001176/0.8527, allocations: 274.6 kB / 0.9367 GB, free: 8.957 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005912/0.8533, allocations: 366 kB / 0.937 GB, free: 8.602 MB / 0.7012 GB Notification: Performance of SimCode: time 1.754e-06/0.8533, allocations: 0 / 0.937 GB, free: 8.602 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06641/0.9197, allocations: 31.95 MB / 0.9682 GB, free: 9.062 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.57, allocations: 15.36 kB / 0.9682 GB, free: 9.051 MB / 0.7325 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.191203851019964] Failed to read output from testmodel.py, exit status != 0: 11.661237257998437 11.687460343 10.919810331 Calling exit ...