Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001284/0.001284, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001434/0.001434, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.379/1.379, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.0025/0.0025, allocations: 290.6 kB / 312.7 MB, free: 2.797 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.179/1.179, allocations: 180.6 MB / 0.5369 GB, free: 13.18 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002787/0.002787, allocations: 100.7 kB / 0.7396 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1673, allocations: 95.38 MB / 0.8327 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6157/0.7831, allocations: 198.1 MB / 1.026 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009256/0.7923, allocations: 6.982 MB / 1.033 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/0.7939, allocations: 65.41 kB / 1.033 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.7955, allocations: 0.7084 MB / 1.034 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005636/0.8011, allocations: 2.492 MB / 1.036 GB, free: 152 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003362/0.8045, allocations: 1.503 MB / 1.038 GB, free: 36 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004458/0.8089, allocations: 3.086 MB / 1.041 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.81, allocations: 0.7054 MB / 1.041 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00247/0.8125, allocations: 1.171 MB / 1.043 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001369/0.8138, allocations: 0.86 MB / 1.043 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001679/0.814, allocations: 102.8 kB / 1.043 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003829/0.8178, allocations: 2.196 MB / 1.046 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003709/0.8182, allocations: 383.9 kB / 1.046 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006117/0.8188, allocations: 0.5877 MB / 1.047 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003404/0.8222, allocations: 2.399 MB / 1.049 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8222, allocations: 0 / 1.049 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8222, allocations: 0 / 1.049 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.989e-05/0.8223, allocations: 0 / 1.049 GB, free: 14.67 MB / 0.7325 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.003327/0.8256, allocations: 1.591 MB / 1.05 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.8256, allocations: 16.78 kB / 1.05 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.8258, allocations: 119.1 kB / 1.051 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002713/0.8285, allocations: 0.5352 MB / 1.051 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/0.8307, allocations: 0.9829 MB / 1.052 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.503e-05/0.8308, allocations: 50.41 kB / 1.052 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.8309, allocations: 76 kB / 1.052 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/0.8331, allocations: 1.107 MB / 1.053 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.8331, allocations: 3.938 kB / 1.053 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.052e-05/0.8332, allocations: 27.12 kB / 1.053 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.27e-05/0.8332, allocations: 36.67 kB / 1.053 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002737/0.836, allocations: 1.16 MB / 1.054 GB, free: 11.46 MB / 0.7325 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.005448/0.8414, allocations: 3.119 MB / 1.057 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.8429, allocations: 0.6521 MB / 1.058 GB, free: 8.805 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007118/0.8436, allocations: 393.6 kB / 1.058 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004602/0.8441, allocations: 130.8 kB / 1.059 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000925/0.845, allocations: 0.5147 MB / 1.059 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=57): time 2.305e-06/0.845, allocations: 0 / 1.059 GB, free: 8.234 MB / 0.7325 GB Notification: Performance of matching and sorting (n=57): time 0.002717/0.8477, allocations: 1.231 MB / 1.06 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.2e-05/0.8478, allocations: 144.7 kB / 1.06 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/0.8495, allocations: 1.179 MB / 1.062 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.502e-05/0.8496, allocations: 42.89 kB / 1.062 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003901/0.85, allocations: 447 kB / 1.062 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.8501, allocations: 190.8 kB / 1.062 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/0.8504, allocations: 143.2 kB / 1.062 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.8505, allocations: 333.9 kB / 1.063 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/0.8517, allocations: 437.3 kB / 1.063 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/0.8529, allocations: 0.5948 MB / 1.064 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001876/0.8548, allocations: 0.9265 MB / 1.065 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.8548, allocations: 4 kB / 1.065 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002857/0.8577, allocations: 1.199 MB / 1.066 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.651e-05/0.8577, allocations: 37.34 kB / 1.066 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.8577, allocations: 2.312 kB / 1.066 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.8578, allocations: 12.72 kB / 1.066 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008872/0.8586, allocations: 184.8 kB / 1.066 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.8587, allocations: 13.56 kB / 1.066 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.8601, allocations: 256.6 kB / 1.066 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.342e-05/0.8602, allocations: 37.56 kB / 1.066 GB, free: 3.809 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.0005157/0.8607, allocations: 320.8 kB / 1.067 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.8609, allocations: 125.7 kB / 1.067 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/0.863, allocations: 1.001 MB / 1.068 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.863, allocations: 21.23 kB / 1.068 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.863, allocations: 6.5 kB / 1.068 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.863, allocations: 0 / 1.068 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004867/0.8679, allocations: 3.145 MB / 1.071 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/0.8679, allocations: 11.64 kB / 1.071 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005647/0.8684, allocations: 115.9 kB / 1.071 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.369e-05/0.8685, allocations: 12.53 kB / 1.071 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.975e-05/0.8685, allocations: 24.77 kB / 1.071 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.385e-05/0.8685, allocations: 14.28 kB / 1.071 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.548e-06/0.8685, allocations: 10.78 kB / 1.071 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/0.8708, allocations: 1.356 MB / 1.072 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006186/0.8714, allocations: 251.7 kB / 1.073 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.8715, allocations: 24.8 kB / 1.073 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.8726, allocations: 101.1 kB / 1.073 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.8727, allocations: 67.89 kB / 1.073 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.137e-05/0.8728, allocations: 40.09 kB / 1.073 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001398/0.8742, allocations: 0.8479 MB / 1.074 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/0.8742, allocations: 0 / 1.074 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001036/0.8752, allocations: 300.6 kB / 1.074 GB, free: 14.88 MB / 0.7481 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.002987/0.8782, allocations: 2.137 MB / 1.076 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002205/0.8804, allocations: 0.9784 MB / 1.077 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.8804, allocations: 0 / 1.077 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008453/0.8812, allocations: 482.8 kB / 1.077 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/0.8837, allocations: 0.5561 MB / 1.078 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0161/0.8998, allocations: 9.401 MB / 1.087 GB, free: 4.359 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007482/0.9006, allocations: 1.073 MB / 1.088 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001036/0.9016, allocations: 274.8 kB / 1.088 GB, free: 2.988 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000543/0.9021, allocations: 363.2 kB / 1.089 GB, free: 2.633 MB / 0.7481 GB Notification: Performance of SimCode: time 6.32e-07/0.9021, allocations: 0 / 1.089 GB, free: 2.633 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07154/0.9737, allocations: 32.42 MB / 1.12 GB, free: 2.598 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/14.1, allocations: 4.062 kB / 1.12 GB, free: 2.594 MB / 0.7794 GB " [Timeout remaining time 646] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.150576556799933] Failed to read output from testmodel.py, exit status != 0: 14.229799808003008 14.257837091 13.430472791 Calling exit ...