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.0009226/0.0009226, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009718/0.0009718, allocations: 223.7 kB / 22.26 MB, free: 3.703 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 1.006/1.006, allocations: 230.6 MB / 256 MB, free: 9.816 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.7992/0.7992, allocations: 203.8 MB / 0.5042 GB, free: 10.77 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.0009332/0.0009332, allocations: 74.36 kB / 0.7182 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4905/0.4914, allocations: 102 MB / 0.8178 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.03829/0.5297, allocations: 43.03 MB / 0.8599 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01395/0.5437, allocations: 11.19 MB / 0.8708 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/0.5456, allocations: 73.34 kB / 0.8709 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001638/0.5473, allocations: 0.5706 MB / 0.8714 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.00382/0.5511, allocations: 1.502 MB / 0.8729 GB, free: 7.082 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.554, allocations: 1.366 MB / 0.8742 GB, free: 6.035 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003646/0.5576, allocations: 2.719 MB / 0.8769 GB, free: 4.418 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.5589, allocations: 0.8457 MB / 0.8777 GB, free: 3.797 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002784/0.5617, allocations: 1.274 MB / 0.8789 GB, free: 3.02 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.5632, allocations: 0.8332 MB / 0.8798 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002493/0.5635, allocations: 114.9 kB / 0.8799 GB, free: 2.484 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/0.5653, allocations: 0.8125 MB / 0.8807 GB, free: 2.113 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.5655, allocations: 276.8 kB / 0.8809 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0007847/0.5663, allocations: 0.6234 MB / 0.8815 GB, free: 1.457 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003019/0.5693, allocations: 1.947 MB / 0.8834 GB, free: 156 kB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5693, allocations: 0 / 0.8834 GB, free: 156 kB / 0.6511 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5693, allocations: 0 / 0.8834 GB, free: 156 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.944e-05/0.5694, allocations: 5.031 kB / 0.8834 GB, free: 152 kB / 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.002403/0.5718, allocations: 1.495 MB / 0.8849 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5718, allocations: 9.625 kB / 0.8849 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.572, allocations: 128.9 kB / 0.885 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.573, allocations: 339.4 kB / 0.8854 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/0.5746, allocations: 0.9057 MB / 0.8862 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.47e-05/0.5746, allocations: 58.66 kB / 0.8863 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.5747, allocations: 79.92 kB / 0.8864 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.5763, allocations: 1.004 MB / 0.8874 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.5763, allocations: 7.922 kB / 0.8874 GB, free: 13.28 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.545e-05/0.5763, allocations: 32.38 kB / 0.8874 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.5764, allocations: 20.16 kB / 0.8874 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.5778, allocations: 0.8202 MB / 0.8882 GB, free: 12.85 MB / 0.6667 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.005043/0.5829, allocations: 3.992 MB / 0.8921 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.584, allocations: 0.5864 MB / 0.8927 GB, free: 8.973 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000475/0.5845, allocations: 293.4 kB / 0.893 GB, free: 8.684 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000377/0.5849, allocations: 120.2 kB / 0.8931 GB, free: 8.566 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006736/0.5855, allocations: 427.2 kB / 0.8935 GB, free: 8.133 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=47): time 2.805e-06/0.5855, allocations: 4 kB / 0.8935 GB, free: 8.129 MB / 0.6667 GB Notification: Performance of matching and sorting (n=47): time 0.001907/0.5874, allocations: 0.9767 MB / 0.8944 GB, free: 7.145 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.5875, allocations: 110.8 kB / 0.8946 GB, free: 7.012 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009838/0.5885, allocations: 0.8949 MB / 0.8954 GB, free: 6.094 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.498e-05/0.5886, allocations: 45.69 kB / 0.8955 GB, free: 6.043 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/0.5889, allocations: 496.4 kB / 0.8959 GB, free: 5.555 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.5891, allocations: 174.6 kB / 0.8961 GB, free: 5.383 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.5892, allocations: 134.2 kB / 0.8962 GB, free: 5.246 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.661e-05/0.5893, allocations: 326 kB / 0.8965 GB, free: 4.922 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005064/0.5898, allocations: 301.1 kB / 0.8968 GB, free: 4.629 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005852/0.5904, allocations: 484.1 kB / 0.8973 GB, free: 4.082 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.5917, allocations: 0.7857 MB / 0.8981 GB, free: 3.215 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.5917, allocations: 8 kB / 0.8981 GB, free: 3.207 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001551/0.5933, allocations: 0.9188 MB / 0.899 GB, free: 2.273 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.692e-05/0.5933, allocations: 45.81 kB / 0.899 GB, free: 2.223 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.5933, allocations: 4 kB / 0.899 GB, free: 2.219 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.5933, allocations: 12 kB / 0.899 GB, free: 2.207 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005493/0.5939, allocations: 199.7 kB / 0.8992 GB, free: 2.012 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.5939, allocations: 11.94 kB / 0.8992 GB, free: 2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006579/0.5946, allocations: 123.3 kB / 0.8993 GB, free: 1.879 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.369e-05/0.5946, allocations: 43.91 kB / 0.8994 GB, free: 1.836 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.0003849/0.595, allocations: 261.6 kB / 0.8996 GB, free: 1.57 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.5952, allocations: 103.3 kB / 0.8997 GB, free: 1.469 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/0.5968, allocations: 1.102 MB / 0.9008 GB, free: 384 kB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.5968, allocations: 7.984 kB / 0.9008 GB, free: 376 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.5968, allocations: 12.22 kB / 0.9008 GB, free: 364 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.5968, allocations: 7.984 kB / 0.9008 GB, free: 356 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002763/0.5996, allocations: 2.146 MB / 0.9029 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.5996, allocations: 0 / 0.9029 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004571/0.6001, allocations: 159.9 kB / 0.9031 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.6001, allocations: 0 / 0.9031 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/0.6001, allocations: 19.98 kB / 0.9031 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.6001, allocations: 4 kB / 0.9031 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6001, allocations: 4 kB / 0.9031 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/0.6024, allocations: 1.49 MB / 0.9046 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004655/0.6028, allocations: 199.1 kB / 0.9048 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.6029, allocations: 23.95 kB / 0.9048 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004197/0.6033, allocations: 63.91 kB / 0.9048 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.158e-05/0.6034, allocations: 52.28 kB / 0.9049 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.813e-05/0.6035, allocations: 27.98 kB / 0.9049 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006805/0.6042, allocations: 0.6343 MB / 0.9055 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6042, allocations: 0 / 0.9055 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001041/0.6052, allocations: 375.1 kB / 0.9059 GB, free: 11.04 MB / 0.6823 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.003372/0.6086, allocations: 2.634 MB / 0.9085 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001379/0.61, allocations: 0.7873 MB / 0.9092 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.61, allocations: 0 / 0.9092 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006294/0.6106, allocations: 386.6 kB / 0.9096 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.6123, allocations: 490 kB / 0.9101 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/0.627, allocations: 8.405 MB / 0.9183 GB, free: 14.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007075/0.6277, allocations: 1.049 MB / 0.9193 GB, free: 13.12 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007567/0.6284, allocations: 219.7 kB / 0.9195 GB, free: 12.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004211/0.6288, allocations: 419.3 kB / 0.9199 GB, free: 12.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.162e-06/0.6288, allocations: 0 / 0.9199 GB, free: 12.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0513/0.6802, allocations: 31.3 MB / 0.9505 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.182/8.862, allocations: 64 / 0.9505 GB, free: 13.38 MB / 0.7292 GB " [Timeout remaining time 651] (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.901620054151863] Failed to read output from testmodel.py, exit status != 0: 8.971565823070705 8.97929978 8.408099099 Calling exit ...