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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 105.4 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.033/1.033, allocations: 175.8 MB / 478.4 MB, free: 3.445 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 68.08 kB / 0.6652 GB, free: 11.26 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1768, allocations: 94.54 MB / 0.7575 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.04503/0.2218, allocations: 42.36 MB / 0.7989 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01726/0.2391, allocations: 10.99 MB / 0.8096 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001974/0.2411, allocations: 51.75 kB / 0.8097 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001959/0.243, allocations: 0.5625 MB / 0.8102 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004519/0.2475, allocations: 1.442 MB / 0.8116 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003757/0.2513, allocations: 1.307 MB / 0.8129 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004421/0.2557, allocations: 2.666 MB / 0.8155 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002006/0.2577, allocations: 0.8774 MB / 0.8164 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003747/0.2615, allocations: 1.223 MB / 0.8176 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.2632, allocations: 0.8283 MB / 0.8184 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004453/0.2636, allocations: 112 kB / 0.8185 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002244/0.2659, allocations: 0.7021 MB / 0.8192 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004966/0.2664, allocations: 282.9 kB / 0.8194 GB, free: 2.098 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.2675, allocations: 0.6142 MB / 0.82 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003695/0.2712, allocations: 1.857 MB / 0.8218 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2712, allocations: 4 kB / 0.8218 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2712, allocations: 0 / 0.8218 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.275e-05/0.2713, allocations: 0 / 0.8218 GB, free: 15.61 MB / 0.6387 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.003198/0.2744, allocations: 1.548 MB / 0.8234 GB, free: 14 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.2745, allocations: 12.03 kB / 0.8234 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002062/0.2747, allocations: 119 kB / 0.8235 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/0.2765, allocations: 335.8 kB / 0.8238 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002062/0.2786, allocations: 0.9572 MB / 0.8247 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.747e-05/0.2787, allocations: 61.98 kB / 0.8248 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/0.2788, allocations: 88 kB / 0.8249 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.2811, allocations: 0.9967 MB / 0.8259 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.2811, allocations: 7.938 kB / 0.8259 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.042e-05/0.2812, allocations: 32 kB / 0.8259 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.2812, allocations: 20 kB / 0.8259 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/0.2835, allocations: 0.8273 MB / 0.8267 GB, free: 10.45 MB / 0.6387 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.006303/0.2898, allocations: 4.006 MB / 0.8306 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.2916, allocations: 0.5911 MB / 0.8312 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008539/0.2924, allocations: 289.4 kB / 0.8315 GB, free: 5.371 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/0.2935, allocations: 0.9457 MB / 0.8324 GB, free: 4.223 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/0.2947, allocations: 431.1 kB / 0.8328 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 3.616e-06/0.2947, allocations: 0 / 0.8328 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of matching and sorting (n=47): time 0.002953/0.2976, allocations: 0.9827 MB / 0.8338 GB, free: 2.797 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.968e-05/0.2977, allocations: 110.8 kB / 0.8339 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/0.2992, allocations: 0.8786 MB / 0.8347 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.178e-05/0.2993, allocations: 37.7 kB / 0.8348 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004791/0.2997, allocations: 496.4 kB / 0.8352 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.2999, allocations: 170.6 kB / 0.8354 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/0.3002, allocations: 134.2 kB / 0.8355 GB, free: 0.9258 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3003, allocations: 338 kB / 0.8359 GB, free: 0.5898 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008342/0.3012, allocations: 289.1 kB / 0.8361 GB, free: 312 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.3022, allocations: 492.1 kB / 0.8366 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/0.304, allocations: 0.7857 MB / 0.8374 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.304, allocations: 4 kB / 0.8374 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002379/0.3064, allocations: 0.93 MB / 0.8383 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.917e-05/0.3064, allocations: 33.7 kB / 0.8383 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.3065, allocations: 8 kB / 0.8383 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.3065, allocations: 8 kB / 0.8383 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009787/0.3075, allocations: 200.2 kB / 0.8385 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.11e-05/0.3075, allocations: 11.94 kB / 0.8385 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00095/0.3084, allocations: 123.3 kB / 0.8387 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.791e-05/0.3085, allocations: 39.92 kB / 0.8387 GB, free: 13.51 MB / 0.6544 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.0004793/0.309, allocations: 270.5 kB / 0.839 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/0.3093, allocations: 111.3 kB / 0.8391 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002752/0.312, allocations: 1.082 MB / 0.8401 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/0.312, allocations: 8 kB / 0.8401 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3121, allocations: 0 / 0.8401 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.3121, allocations: 4.266 kB / 0.8401 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004267/0.3163, allocations: 2.171 MB / 0.8422 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.3163, allocations: 0 / 0.8422 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000853/0.3172, allocations: 151.8 kB / 0.8424 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.3172, allocations: 4 kB / 0.8424 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.832e-05/0.3173, allocations: 23.92 kB / 0.8424 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.3173, allocations: 4 kB / 0.8424 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3173, allocations: 0 / 0.8424 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003245/0.3205, allocations: 1.473 MB / 0.8439 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000562/0.3211, allocations: 276.2 kB / 0.8441 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/0.3213, allocations: 16 kB / 0.8441 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008155/0.3221, allocations: 67.91 kB / 0.8442 GB, free: 7.711 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.3222, allocations: 52.38 kB / 0.8443 GB, free: 7.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-05/0.3223, allocations: 31.92 kB / 0.8443 GB, free: 7.629 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001017/0.3233, allocations: 0.6183 MB / 0.8449 GB, free: 7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3233, allocations: 4 kB / 0.8449 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001212/0.3245, allocations: 363.1 kB / 0.8452 GB, free: 6.641 MB / 0.6544 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.005598/0.3301, allocations: 2.575 MB / 0.8478 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002423/0.3325, allocations: 0.7754 MB / 0.8485 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.3325, allocations: 4 kB / 0.8485 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.3337, allocations: 391 kB / 0.8489 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/0.3362, allocations: 483.4 kB / 0.8493 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3619/0.6982, allocations: 8.347 MB / 0.8575 GB, free: 88.57 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007402/0.6989, allocations: 1.044 MB / 0.8585 GB, free: 87.86 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001019/0.6999, allocations: 219.8 kB / 0.8587 GB, free: 87.84 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006423/0.7006, allocations: 406 kB / 0.8591 GB, free: 87.56 MB / 0.6544 GB Notification: Performance of SimCode: time 1.523e-06/0.7006, allocations: 0 / 0.8591 GB, free: 87.56 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07216/0.7727, allocations: 30.19 MB / 0.8886 GB, free: 76.34 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.901/10.67, allocations: 11.42 kB / 0.8886 GB, free: 76.33 MB / 0.6544 GB " [Timeout remaining time 649] (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: 14.520835069008172] Failed to read output from testmodel.py, exit status != 0: 10.813693454954773 10.826440789 10.552365088 Calling exit ...