Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.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.000798/0.000798, allocations: 97.5 kB / 18.95 MB, free: 1.312 MB / 13.93 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.0008402/0.0008402, allocations: 209.7 kB / 22.24 MB, free: 3.684 MB / 13.93 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 0.9484/0.9484, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7788/0.7788, allocations: 203.8 MB / 0.5042 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_DHW_example",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.DHW_example,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_DHW_example",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001245/0.001245, allocations: 66 kB / 0.7182 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4618/0.463, allocations: 102 MB / 0.8178 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.03254/0.4956, allocations: 38.8 MB / 0.8557 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01227/0.5078, allocations: 10.41 MB / 0.8658 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002065/0.5099, allocations: 69.62 kB / 0.8659 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.5114, allocations: 0.5609 MB / 0.8665 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.003644/0.5151, allocations: 1.495 MB / 0.8679 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.5178, allocations: 1.338 MB / 0.8692 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003404/0.5212, allocations: 2.706 MB / 0.8719 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.5224, allocations: 0.8304 MB / 0.8727 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002814/0.5252, allocations: 1.271 MB / 0.8739 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.5263, allocations: 0.7819 MB / 0.8747 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.5265, allocations: 110.4 kB / 0.8748 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.5278, allocations: 0.668 MB / 0.8754 GB, free: 7.434 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.5281, allocations: 286 kB / 0.8757 GB, free: 7.199 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0005089/0.5286, allocations: 0.4982 MB / 0.8762 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002448/0.531, allocations: 1.923 MB / 0.8781 GB, free: 5.617 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.531, allocations: 1.219 kB / 0.8781 GB, free: 5.617 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.894e-06/0.531, allocations: 0 / 0.8781 GB, free: 5.617 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.636e-05/0.5311, allocations: 3.938 kB / 0.8781 GB, free: 5.613 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002369/0.5335, allocations: 1.489 MB / 0.8795 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.5335, allocations: 8.969 kB / 0.8795 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.5336, allocations: 133.1 kB / 0.8797 GB, free: 4.355 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009802/0.5346, allocations: 330.9 kB / 0.88 GB, free: 4.191 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.5359, allocations: 0.9028 MB / 0.8809 GB, free: 3.492 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.536, allocations: 65.77 kB / 0.8809 GB, free: 3.461 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.151e-05/0.536, allocations: 80.33 kB / 0.881 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.5375, allocations: 1.129 MB / 0.8821 GB, free: 2.613 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.5375, allocations: 5.031 kB / 0.8821 GB, free: 2.609 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.537e-05/0.5375, allocations: 33.16 kB / 0.8822 GB, free: 2.586 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.5375, allocations: 23.16 kB / 0.8822 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.5389, allocations: 0.8174 MB / 0.883 GB, free: 2.172 MB / 0.6511 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.004366/0.5433, allocations: 3.382 MB / 0.8863 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009723/0.5443, allocations: 0.5818 MB / 0.8868 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004456/0.5447, allocations: 293.4 kB / 0.8871 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003682/0.5451, allocations: 124.3 kB / 0.8872 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007903/0.5459, allocations: 0.5292 MB / 0.8878 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=47): time 2.274e-06/0.5459, allocations: 0 / 0.8878 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of matching and sorting (n=47): time 0.001743/0.5476, allocations: 0.969 MB / 0.8887 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.5477, allocations: 114.7 kB / 0.8888 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008694/0.5486, allocations: 0.9026 MB / 0.8897 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.951e-05/0.5486, allocations: 41.7 kB / 0.8897 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/0.5489, allocations: 496.4 kB / 0.8902 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.549, allocations: 170.5 kB / 0.8904 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.5492, allocations: 138.2 kB / 0.8905 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.32e-05/0.5493, allocations: 330 kB / 0.8908 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007289/0.55, allocations: 322.8 kB / 0.8911 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000593/0.5506, allocations: 0.635 MB / 0.8917 GB, free: 9.309 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009918/0.5516, allocations: 0.7858 MB / 0.8925 GB, free: 8.441 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.5516, allocations: 3.938 kB / 0.8925 GB, free: 8.438 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001329/0.5529, allocations: 0.9512 MB / 0.8934 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/0.5529, allocations: 37.7 kB / 0.8935 GB, free: 7.422 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.5529, allocations: 8 kB / 0.8935 GB, free: 7.414 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.553, allocations: 11.94 kB / 0.8935 GB, free: 7.402 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005357/0.5535, allocations: 196.3 kB / 0.8937 GB, free: 7.211 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.5535, allocations: 19.92 kB / 0.8937 GB, free: 7.191 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005649/0.5541, allocations: 119.3 kB / 0.8938 GB, free: 7.074 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.703e-05/0.5541, allocations: 35.98 kB / 0.8939 GB, free: 7.039 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (mDHW60C.count,$PRE.mDHW60C.count,mDHW60C.T_start,$PRE.mDHW60C.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0003649/0.5545, allocations: 269.6 kB / 0.8941 GB, free: 6.766 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.5546, allocations: 103.3 kB / 0.8942 GB, free: 6.664 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.5562, allocations: 1.1 MB / 0.8953 GB, free: 5.57 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.5562, allocations: 4.281 kB / 0.8953 GB, free: 5.566 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.5562, allocations: 4 kB / 0.8953 GB, free: 5.562 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.5562, allocations: 7.969 kB / 0.8953 GB, free: 5.555 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/0.5584, allocations: 1.921 MB / 0.8972 GB, free: 3.574 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.5584, allocations: 4 kB / 0.8972 GB, free: 3.57 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004287/0.5589, allocations: 152 kB / 0.8973 GB, free: 3.422 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.5589, allocations: 4 kB / 0.8973 GB, free: 3.418 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/0.5589, allocations: 19.98 kB / 0.8973 GB, free: 3.398 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.5589, allocations: 4 kB / 0.8974 GB, free: 3.395 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.5589, allocations: 4 kB / 0.8974 GB, free: 3.391 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/0.5609, allocations: 1.49 MB / 0.8988 GB, free: 1.867 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003172/0.5612, allocations: 211 kB / 0.899 GB, free: 1.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-05/0.5613, allocations: 15.94 kB / 0.899 GB, free: 1.645 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003757/0.5617, allocations: 63.91 kB / 0.8991 GB, free: 1.582 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/0.5618, allocations: 52.28 kB / 0.8991 GB, free: 1.531 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/0.5618, allocations: 28.05 kB / 0.8992 GB, free: 1.504 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005606/0.5624, allocations: 0.6382 MB / 0.8998 GB, free: 0.8555 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8e-08/0.5624, allocations: 3.938 kB / 0.8998 GB, free: 0.8516 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008767/0.5632, allocations: 379.1 kB / 0.9002 GB, free: 492 kB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (dHW_RealInput.THot.T,dHW_ProfileReader.THot.T) * Number of discrete variables: 3 ($whenCondition1,mDHW60C.T_start,mDHW60C.count) * Number of discrete states: 1 (mDHW60C.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 2 * 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.003032/0.5663, allocations: 2.66 MB / 0.9027 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001199/0.5675, allocations: 0.8085 MB / 0.9035 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5675, allocations: 4 kB / 0.9035 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005357/0.568, allocations: 394.6 kB / 0.9039 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.5692, allocations: 490.2 kB / 0.9044 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.5799, allocations: 8.51 MB / 0.9127 GB, free: 3.488 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.5802, allocations: 463.6 kB / 0.9131 GB, free: 3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005993/0.5808, allocations: 215.8 kB / 0.9133 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003794/0.5812, allocations: 415.3 kB / 0.9137 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of SimCode: time 1.383e-06/0.5812, allocations: 0 / 0.9137 GB, free: 2.383 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04341/0.6246, allocations: 33.28 MB / 0.9462 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.654/8.278, allocations: 3.984 kB / 0.9462 GB, free: 1.438 MB / 0.7136 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Taps_Examples_DHW_example_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Taps_Examples_DHW_example.fmu > IDEAS_dev_IDEAS.Fluid.Taps.Examples.DHW_example.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.205888846423477] Failed to read output from testmodel.py, exit status != 0: 8.399040423799306 8.409167398 7.876285274 Calling exit ...