Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.00194/0.00194, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002217/0.002217, allocations: 218.2 kB / 22.99 MB, free: 4.977 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9716/0.9716, allocations: 149.9 MB / 463 MB, free: 10.37 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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: translateModel(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 660] "Notification: IBPSA 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.002617/0.002617, allocations: 63.62 kB / 0.6416 GB, free: 9.641 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.203, allocations: 89.17 MB / 0.7286 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6342/0.8372, allocations: 171.9 MB / 0.8965 GB, free: 9.699 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01312/0.8503, allocations: 6.579 MB / 0.9029 GB, free: 3.113 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/0.8523, allocations: 63.38 kB / 0.903 GB, free: 3.051 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002518/0.8549, allocations: 0.6909 MB / 0.9037 GB, free: 2.355 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00733/0.8622, allocations: 2.412 MB / 0.906 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004235/0.8664, allocations: 1.455 MB / 0.9075 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005304/0.8717, allocations: 3.009 MB / 0.9104 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00172/0.8735, allocations: 0.7039 MB / 0.9111 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004964/0.8784, allocations: 1.629 MB / 0.9127 GB, free: 9.156 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002188/0.8806, allocations: 0.8 MB / 0.9135 GB, free: 8.363 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004275/0.881, allocations: 100 kB / 0.9135 GB, free: 8.266 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004296/0.8853, allocations: 1.664 MB / 0.9152 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008121/0.8861, allocations: 370.7 kB / 0.9155 GB, free: 6.234 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001426/0.8876, allocations: 485.7 kB / 0.916 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00717/0.8947, allocations: 2.352 MB / 0.9183 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.8947, allocations: 0 / 0.9183 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.665e-06/0.8947, allocations: 0 / 0.9183 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.384e-05/0.8948, allocations: 0 / 0.9183 GB, free: 3.398 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.005763/0.9006, allocations: 1.592 MB / 0.9198 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.9006, allocations: 12.03 kB / 0.9199 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003228/0.9039, allocations: 0.5338 MB / 0.9204 GB, free: 1.215 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003065/0.9069, allocations: 0.9664 MB / 0.9213 GB, free: 228 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.344e-05/0.907, allocations: 53.3 kB / 0.9214 GB, free: 172 kB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000222/0.9072, allocations: 72 kB / 0.9214 GB, free: 100 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003015/0.9103, allocations: 1.242 MB / 0.9226 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.282e-05/0.9103, allocations: 0 / 0.9226 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.9104, allocations: 31.98 kB / 0.9227 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-05/0.9104, allocations: 37.23 kB / 0.9227 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003357/0.9138, allocations: 1.19 MB / 0.9239 GB, free: 13.53 MB / 0.7012 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.00654/0.9203, allocations: 2.695 MB / 0.9265 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/0.9223, allocations: 0.6896 MB / 0.9272 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009062/0.9232, allocations: 423.8 kB / 0.9276 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000541/0.9238, allocations: 128.3 kB / 0.9277 GB, free: 9.527 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/0.925, allocations: 0.6433 MB / 0.9283 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=57): time 3.226e-06/0.925, allocations: 0 / 0.9283 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of matching and sorting (n=57): time 0.003379/0.9284, allocations: 1.26 MB / 0.9296 GB, free: 7.547 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.9285, allocations: 148.8 kB / 0.9297 GB, free: 7.371 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001892/0.9304, allocations: 0.8838 MB / 0.9306 GB, free: 6.48 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001163/0.9305, allocations: 37.7 kB / 0.9306 GB, free: 6.438 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004924/0.931, allocations: 476.5 kB / 0.9311 GB, free: 5.965 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/0.9312, allocations: 194.3 kB / 0.9312 GB, free: 5.773 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003211/0.9315, allocations: 142.2 kB / 0.9314 GB, free: 5.629 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.9317, allocations: 330 kB / 0.9317 GB, free: 5.301 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.933, allocations: 466.7 kB / 0.9321 GB, free: 4.84 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001744/0.9348, allocations: 0.9862 MB / 0.9331 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002222/0.937, allocations: 0.9293 MB / 0.934 GB, free: 2.727 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.937, allocations: 1.125 kB / 0.934 GB, free: 2.727 MB / 0.7012 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003328/0.9403, allocations: 1.218 MB / 0.9352 GB, free: 1.484 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 5.963e-05/0.9404, allocations: 41.7 kB / 0.9352 GB, free: 1.438 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.9404, allocations: 3.984 kB / 0.9352 GB, free: 1.434 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/0.9404, allocations: 11.94 kB / 0.9353 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009861/0.9414, allocations: 187.8 kB / 0.9354 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/0.9415, allocations: 7.938 kB / 0.9354 GB, free: 1.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.9429, allocations: 203.5 kB / 0.9356 GB, free: 1.031 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.9431, allocations: 43.91 kB / 0.9357 GB, free: 0.9883 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.000604/0.9437, allocations: 333.1 kB / 0.936 GB, free: 0.6484 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003036/0.944, allocations: 95.39 kB / 0.9361 GB, free: 0.5547 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002411/0.9464, allocations: 1.008 MB / 0.9371 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.9464, allocations: 4 kB / 0.9371 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/0.9464, allocations: 11.92 kB / 0.9371 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.9464, allocations: 0 / 0.9371 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005416/0.9518, allocations: 2.941 MB / 0.94 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/0.9518, allocations: 15.94 kB / 0.94 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006256/0.9525, allocations: 120 kB / 0.9401 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.424e-05/0.9525, allocations: 12 kB / 0.9401 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-05/0.9525, allocations: 27.98 kB / 0.9401 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.716e-05/0.9526, allocations: 15.94 kB / 0.9401 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/0.9526, allocations: 11.94 kB / 0.9402 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002453/0.955, allocations: 1.36 MB / 0.9415 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000662/0.9557, allocations: 235 kB / 0.9417 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.9559, allocations: 23.98 kB / 0.9417 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.957, allocations: 95.91 kB / 0.9418 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.9572, allocations: 71.67 kB / 0.9419 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.838e-05/0.9573, allocations: 39.97 kB / 0.9419 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00146/0.9587, allocations: 0.6356 MB / 0.9426 GB, free: 9.664 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9587, allocations: 0 / 0.9426 GB, free: 9.664 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001616/0.9604, allocations: 327.3 kB / 0.9429 GB, free: 9.344 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.000859/0.9612, allocations: 331.8 kB / 0.9432 GB, free: 9.012 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00277/0.964, allocations: 1.028 MB / 0.9442 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/0.964, allocations: 4 kB / 0.9442 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.965, allocations: 0.5141 MB / 0.9447 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/0.9672, allocations: 380.7 kB / 0.9451 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004748/0.9719, allocations: 2.044 MB / 0.947 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007421/0.9726, allocations: 485.6 kB / 0.9475 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001229/0.9739, allocations: 246 kB / 0.9477 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/0.9741, allocations: 71.41 kB / 0.9478 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of SimCode: time 2.224e-06/0.9741, allocations: 0 / 0.9478 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of Templates: time 0.03555/1.01, allocations: 19.34 MB / 0.9667 GB, free: 1.07 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.158032985404134] Failed to read output from testmodel.py, exit status != 0: 1.0206217281520367 1.035386275 0.136973283 Calling exit ...