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.001396/0.001396, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001797/0.001797, allocations: 216.5 kB / 22.25 MB, free: 5.113 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 8.016 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.9021/0.9021, allocations: 145 MB / 457.4 MB, free: 132 kB / 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.002/0.002, allocations: 61.22 kB / 0.6332 GB, free: 7.527 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1847, allocations: 87.89 MB / 0.719 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6003/0.7849, allocations: 198.2 MB / 0.9125 GB, free: 7.457 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01172/0.7966, allocations: 6.98 MB / 0.9193 GB, free: 476 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001787/0.7984, allocations: 71.38 kB / 0.9194 GB, free: 404 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002441/0.8009, allocations: 0.7104 MB / 0.9201 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.007374/0.8082, allocations: 2.49 MB / 0.9225 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003984/0.8122, allocations: 1.495 MB / 0.924 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.004989/0.8172, allocations: 3.048 MB / 0.927 GB, free: 8.648 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.8187, allocations: 0.6985 MB / 0.9277 GB, free: 7.941 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003076/0.8218, allocations: 1.189 MB / 0.9288 GB, free: 6.762 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001908/0.8237, allocations: 0.8525 MB / 0.9296 GB, free: 5.91 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003721/0.8241, allocations: 100 kB / 0.9297 GB, free: 5.812 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004683/0.8288, allocations: 2.194 MB / 0.9319 GB, free: 3.613 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006026/0.8294, allocations: 382.6 kB / 0.9323 GB, free: 3.238 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.8304, allocations: 0.587 MB / 0.9328 GB, free: 2.648 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005492/0.8359, allocations: 2.523 MB / 0.9353 GB, free: 120 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8359, allocations: 0 / 0.9353 GB, free: 120 kB / 0.7012 GB Notification: Performance of FrontEnd: time 1.502e-06/0.8359, allocations: 0 / 0.9353 GB, free: 120 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.02e-05/0.836, allocations: 0 / 0.9353 GB, free: 120 kB / 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.004284/0.8402, allocations: 1.598 MB / 0.9368 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.8403, allocations: 8.031 kB / 0.9369 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001516/0.8404, allocations: 122.4 kB / 0.937 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002927/0.8434, allocations: 0.5377 MB / 0.9375 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002334/0.8457, allocations: 0.9742 MB / 0.9384 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.463e-05/0.8458, allocations: 53.31 kB / 0.9385 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.8459, allocations: 68 kB / 0.9386 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002369/0.8483, allocations: 1.106 MB / 0.9396 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.8483, allocations: 7.938 kB / 0.9397 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.138e-05/0.8484, allocations: 27.94 kB / 0.9397 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.484e-05/0.8484, allocations: 41.3 kB / 0.9397 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00298/0.8514, allocations: 1.157 MB / 0.9408 GB, free: 10.32 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.00585/0.8572, allocations: 3.134 MB / 0.9439 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.8589, allocations: 0.6411 MB / 0.9445 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000781/0.8597, allocations: 400.3 kB / 0.9449 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004907/0.8602, allocations: 124.3 kB / 0.945 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/0.8612, allocations: 0.5185 MB / 0.9455 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=57): time 2.555e-06/0.8612, allocations: 0 / 0.9455 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=57): time 0.002937/0.8641, allocations: 1.229 MB / 0.9467 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.8643, allocations: 148.8 kB / 0.9469 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001904/0.8662, allocations: 1.176 MB / 0.948 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.272e-05/0.8662, allocations: 41.7 kB / 0.9481 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004273/0.8667, allocations: 441.8 kB / 0.9485 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.8669, allocations: 190.4 kB / 0.9487 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002832/0.8671, allocations: 150.2 kB / 0.9488 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.8673, allocations: 330 kB / 0.9491 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/0.8685, allocations: 448.9 kB / 0.9496 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.8699, allocations: 0.5902 MB / 0.9501 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002014/0.8719, allocations: 0.9292 MB / 0.951 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.8719, allocations: 4 kB / 0.951 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003056/0.875, allocations: 1.201 MB / 0.9522 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.798e-05/0.875, allocations: 41.69 kB / 0.9523 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.875, allocations: 4.875 kB / 0.9523 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.8751, allocations: 4.281 kB / 0.9523 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009125/0.876, allocations: 191.7 kB / 0.9525 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-05/0.876, allocations: 11.94 kB / 0.9525 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.8774, allocations: 247.1 kB / 0.9527 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.456e-05/0.8775, allocations: 31.98 kB / 0.9527 GB, free: 13.85 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.0005262/0.878, allocations: 327.3 kB / 0.953 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/0.8782, allocations: 119.2 kB / 0.9532 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/0.8804, allocations: 1.007 MB / 0.9541 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.8804, allocations: 8 kB / 0.9541 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.8804, allocations: 7.938 kB / 0.9542 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.8804, allocations: 3.984 kB / 0.9542 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005339/0.8858, allocations: 3.141 MB / 0.9572 GB, free: 9.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/0.8858, allocations: 8 kB / 0.9572 GB, free: 9.062 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005946/0.8864, allocations: 120.1 kB / 0.9573 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.61e-05/0.8864, allocations: 15.98 kB / 0.9574 GB, free: 8.93 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-05/0.8865, allocations: 20 kB / 0.9574 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.79e-05/0.8865, allocations: 19.92 kB / 0.9574 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/0.8865, allocations: 11.94 kB / 0.9574 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/0.8888, allocations: 1.351 MB / 0.9587 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006766/0.8895, allocations: 258.9 kB / 0.959 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.8897, allocations: 23.98 kB / 0.959 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.8907, allocations: 103.9 kB / 0.9591 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.8908, allocations: 63.73 kB / 0.9592 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-05/0.8909, allocations: 35.97 kB / 0.9592 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001468/0.8924, allocations: 0.8482 MB / 0.96 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.8924, allocations: 4 kB / 0.96 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001084/0.8934, allocations: 299.6 kB / 0.9603 GB, free: 5.781 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.003102/0.8965, allocations: 2.138 MB / 0.9624 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002336/0.8989, allocations: 0.9781 MB / 0.9634 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.8989, allocations: 7.938 kB / 0.9634 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000908/0.8998, allocations: 484.8 kB / 0.9638 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002704/0.9025, allocations: 0.5458 MB / 0.9644 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/0.9197, allocations: 9.408 MB / 0.9735 GB, free: 7.691 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000814/0.9205, allocations: 1.073 MB / 0.9746 GB, free: 6.59 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00109/0.9216, allocations: 282.3 kB / 0.9749 GB, free: 6.316 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000565/0.9222, allocations: 359.3 kB / 0.9752 GB, free: 5.965 MB / 0.7481 GB Notification: Performance of SimCode: time 8.22e-07/0.9222, allocations: 0 / 0.9752 GB, free: 5.965 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08092/1.003, allocations: 32.58 MB / 1.007 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.66, allocations: 5.75 kB / 1.007 GB, free: 5.742 MB / 0.7794 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 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: 18.426524947863072] Failed to read output from testmodel.py, exit status != 0: 14.788345819106326 14.812608033 13.972008459 Calling exit ...