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.00127/0.00127, allocations: 109 kB / 20.48 MB, free: 1.473 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.001424/0.001424, allocations: 207.5 kB / 23.79 MB, free: 4.688 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.439/1.439, allocations: 230.6 MB / 257.6 MB, free: 8.008 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.9595/0.9595, allocations: 150 MB / 464 MB, free: 10.54 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: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="cs",version="2.0",platforms={"static"}) [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.002645/0.002645, allocations: 66.45 kB / 0.642 GB, free: 10.51 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.2397, allocations: 89.17 MB / 0.7291 GB, free: 1.402 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.6475/0.8871, allocations: 198.2 MB / 0.9226 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01189/0.899, allocations: 6.979 MB / 0.9294 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00224/0.9013, allocations: 59.44 kB / 0.9295 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002241/0.9035, allocations: 0.7142 MB / 0.9302 GB, free: 9.34 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0072/0.9107, allocations: 2.483 MB / 0.9326 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004367/0.9151, allocations: 1.495 MB / 0.9341 GB, free: 5.379 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.005246/0.9203, allocations: 3.036 MB / 0.937 GB, free: 2.336 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001687/0.922, allocations: 0.7117 MB / 0.9377 GB, free: 1.621 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004769/0.9268, allocations: 1.629 MB / 0.9393 GB, free: 0 / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002134/0.9289, allocations: 0.8336 MB / 0.9401 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003952/0.9293, allocations: 100 kB / 0.9402 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00461/0.9339, allocations: 2.167 MB / 0.9424 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000738/0.9346, allocations: 378.6 kB / 0.9427 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.936, allocations: 0.5908 MB / 0.9433 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005488/0.9414, allocations: 2.398 MB / 0.9456 GB, free: 9.527 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.9415, allocations: 0 / 0.9456 GB, free: 9.527 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9415, allocations: 4 kB / 0.9456 GB, free: 9.523 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.042e-05/0.9415, allocations: 4 kB / 0.9456 GB, free: 9.52 MB / 0.7169 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.004742/0.9463, allocations: 1.596 MB / 0.9472 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.9463, allocations: 8.031 kB / 0.9472 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.939e-05/0.9464, allocations: 17.31 kB / 0.9472 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002343/0.9466, allocations: 110.5 kB / 0.9473 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003195/0.9498, allocations: 0.5416 MB / 0.9479 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003029/0.9528, allocations: 0.9663 MB / 0.9488 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.75e-05/0.9529, allocations: 57.31 kB / 0.9489 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002289/0.9532, allocations: 71.94 kB / 0.9489 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003001/0.9562, allocations: 1.101 MB / 0.95 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.9562, allocations: 3.938 kB / 0.95 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.9563, allocations: 35.97 kB / 0.95 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.795e-05/0.9564, allocations: 33.31 kB / 0.9501 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00347/0.9598, allocations: 1.161 MB / 0.9512 GB, free: 3.711 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.00701/0.9668, allocations: 3.122 MB / 0.9543 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/0.9687, allocations: 0.6488 MB / 0.9549 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008724/0.9696, allocations: 394.1 kB / 0.9553 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005751/0.9702, allocations: 132.3 kB / 0.9554 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001167/0.9713, allocations: 0.5138 MB / 0.9559 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=57): time 2.364e-06/0.9713, allocations: 0 / 0.9559 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=57): time 0.003365/0.9747, allocations: 1.229 MB / 0.9571 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.9748, allocations: 140.9 kB / 0.9572 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00258/0.9774, allocations: 1.184 MB / 0.9584 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001617/0.9775, allocations: 37.7 kB / 0.9584 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005296/0.9781, allocations: 441.8 kB / 0.9588 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/0.9783, allocations: 198.3 kB / 0.959 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003467/0.9787, allocations: 142.2 kB / 0.9592 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.9789, allocations: 334 kB / 0.9595 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/0.9801, allocations: 437 kB / 0.9599 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/0.9818, allocations: 0.598 MB / 0.9605 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/0.9841, allocations: 0.9196 MB / 0.9614 GB, free: 9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.9841, allocations: 0 / 0.9614 GB, free: 9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003571/0.9876, allocations: 1.213 MB / 0.9626 GB, free: 7.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.741e-05/0.9877, allocations: 45.69 kB / 0.9626 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.9877, allocations: 3.938 kB / 0.9626 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.63e-05/0.9878, allocations: 8 kB / 0.9626 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009498/0.9887, allocations: 188 kB / 0.9628 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.29e-05/0.9887, allocations: 4.547 kB / 0.9628 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/0.9905, allocations: 246.2 kB / 0.963 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/0.9906, allocations: 41 kB / 0.9631 GB, free: 7.242 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.0007938/0.9914, allocations: 329.7 kB / 0.9634 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004798/0.9919, allocations: 123.2 kB / 0.9635 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002959/0.9949, allocations: 1.002 MB / 0.9645 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.36e-05/0.9949, allocations: 4 kB / 0.9645 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/0.9949, allocations: 4 kB / 0.9645 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.9949, allocations: 3.984 kB / 0.9645 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007055/1.002, allocations: 3.141 MB / 0.9676 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.929e-05/1.002, allocations: 4.875 kB / 0.9676 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006279/1.003, allocations: 119.8 kB / 0.9677 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.498e-05/1.003, allocations: 15.98 kB / 0.9677 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.389e-05/1.003, allocations: 28.17 kB / 0.9677 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.346e-05/1.003, allocations: 19.92 kB / 0.9678 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/1.003, allocations: 11.94 kB / 0.9678 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/1.005, allocations: 1.356 MB / 0.9691 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008428/1.006, allocations: 266.8 kB / 0.9693 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003116/1.007, allocations: 16 kB / 0.9694 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/1.008, allocations: 103.8 kB / 0.9695 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/1.008, allocations: 63.73 kB / 0.9695 GB, free: 372 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/1.008, allocations: 43.98 kB / 0.9696 GB, free: 328 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001832/1.01, allocations: 0.8482 MB / 0.9704 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/1.01, allocations: 0 / 0.9704 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001261/1.011, allocations: 299.7 kB / 0.9707 GB, free: 15.17 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.003441/1.015, allocations: 2.125 MB / 0.9727 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002566/1.017, allocations: 0.9703 MB / 0.9737 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/1.017, allocations: 0 / 0.9737 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/1.018, allocations: 491.9 kB / 0.9742 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/1.021, allocations: 0.546 MB / 0.9747 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01937/1.041, allocations: 9.424 MB / 0.9839 GB, free: 1.117 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/1.042, allocations: 1.073 MB / 0.9849 GB, free: 12 kB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001306/1.043, allocations: 279.7 kB / 0.9852 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006826/1.044, allocations: 355.3 kB / 0.9856 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of SimCode: time 1.403e-06/1.044, allocations: 0 / 0.9856 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07502/1.119, allocations: 32.44 MB / 1.017 GB, free: 15.3 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/14.36, allocations: 11.91 kB / 1.017 GB, free: 15.29 MB / 0.795 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.276030214037746] Failed to read output from testmodel.py, exit status != 0: 14.555941392027307 14.583977731 13.637249431 Calling exit ...