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.00146/0.00146, allocations: 112.1 kB / 17.54 MB, free: 4.738 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.001414/0.001414, allocations: 186.7 kB / 20.71 MB, free: 1.582 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.297/1.297, allocations: 225.6 MB / 249.3 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 179] 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 0.9727/0.9727, allocations: 175.7 MB / 480.1 MB, free: 2.762 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.001725/0.001725, allocations: 71.59 kB / 0.6678 GB, free: 10.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1463, allocations: 94.52 MB / 0.7601 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.04263/0.1889, allocations: 42.78 MB / 0.8018 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01485/0.2037, allocations: 11.09 MB / 0.8127 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.2049, allocations: 55.69 kB / 0.8127 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.2062, allocations: 0.5586 MB / 0.8133 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002976/0.2092, allocations: 1.446 MB / 0.8147 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002731/0.2119, allocations: 1.319 MB / 0.816 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003078/0.215, allocations: 2.673 MB / 0.8186 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.2161, allocations: 0.8462 MB / 0.8194 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002403/0.2185, allocations: 1.219 MB / 0.8206 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.2196, allocations: 0.8322 MB / 0.8214 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001509/0.2197, allocations: 108 kB / 0.8215 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.2212, allocations: 0.7061 MB / 0.8222 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000275/0.2215, allocations: 278.9 kB / 0.8225 GB, free: 0.6914 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006058/0.2221, allocations: 0.6219 MB / 0.8231 GB, free: 68 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002273/0.2243, allocations: 1.853 MB / 0.8249 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2243, allocations: 0 / 0.8249 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2243, allocations: 0 / 0.8249 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.2244, allocations: 0 / 0.8249 GB, free: 14.21 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.002306/0.2267, allocations: 1.552 MB / 0.8264 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2267, allocations: 8.031 kB / 0.8264 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001615/0.2269, allocations: 131 kB / 0.8265 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/0.2285, allocations: 331.7 kB / 0.8268 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.2301, allocations: 0.9572 MB / 0.8278 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.311e-05/0.2301, allocations: 65.98 kB / 0.8278 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.2302, allocations: 76 kB / 0.8279 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/0.2322, allocations: 1.004 MB / 0.8289 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.2322, allocations: 0 / 0.8289 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.638e-05/0.2323, allocations: 35.98 kB / 0.8289 GB, free: 9.891 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.2323, allocations: 24 kB / 0.829 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002205/0.2345, allocations: 0.8273 MB / 0.8298 GB, free: 9.043 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.004956/0.2395, allocations: 4.006 MB / 0.8337 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.2412, allocations: 0.5911 MB / 0.8343 GB, free: 4.246 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008333/0.242, allocations: 293.4 kB / 0.8345 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009691/0.243, allocations: 0.9418 MB / 0.8355 GB, free: 2.812 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.244, allocations: 435.1 kB / 0.8359 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 1.864e-06/0.244, allocations: 0 / 0.8359 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of matching and sorting (n=47): time 0.002855/0.2469, allocations: 0.9778 MB / 0.8368 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.627e-05/0.247, allocations: 114.8 kB / 0.8369 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.2481, allocations: 0.8709 MB / 0.8378 GB, free: 364 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/0.2481, allocations: 37.7 kB / 0.8378 GB, free: 320 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.2761/0.5242, allocations: 490.6 kB / 0.8383 GB, free: 76.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/0.5244, allocations: 173.6 kB / 0.8384 GB, free: 76.46 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/0.5247, allocations: 135.8 kB / 0.8386 GB, free: 76.43 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.27e-05/0.5247, allocations: 333 kB / 0.8389 GB, free: 76.12 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008879/0.5256, allocations: 293.7 kB / 0.8392 GB, free: 76.12 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009546/0.5266, allocations: 484.8 kB / 0.8396 GB, free: 75.92 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/0.5283, allocations: 0.7878 MB / 0.8404 GB, free: 75.69 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.5283, allocations: 2.031 kB / 0.8404 GB, free: 75.69 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002315/0.5306, allocations: 0.9286 MB / 0.8413 GB, free: 75.54 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.5306, allocations: 34.55 kB / 0.8414 GB, free: 75.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.5307, allocations: 5.859 kB / 0.8414 GB, free: 75.51 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.5307, allocations: 8.875 kB / 0.8414 GB, free: 75.51 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009379/0.5316, allocations: 197.2 kB / 0.8416 GB, free: 75.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/0.5316, allocations: 25.52 kB / 0.8416 GB, free: 75.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007955/0.5324, allocations: 121.4 kB / 0.8417 GB, free: 75.47 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.281e-05/0.5325, allocations: 37.86 kB / 0.8417 GB, free: 75.47 MB / 0.6387 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.0003645/0.5329, allocations: 267.9 kB / 0.842 GB, free: 75.35 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.533, allocations: 104.9 kB / 0.8421 GB, free: 75.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002557/0.5356, allocations: 1.091 MB / 0.8432 GB, free: 75.02 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.5356, allocations: 11.08 kB / 0.8432 GB, free: 75.02 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.5356, allocations: 0.9062 kB / 0.8432 GB, free: 75.02 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.5356, allocations: 4.109 kB / 0.8432 GB, free: 75.02 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003571/0.5392, allocations: 2.16 MB / 0.8453 GB, free: 73.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.5392, allocations: 0.9375 kB / 0.8453 GB, free: 73.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008238/0.54, allocations: 152 kB / 0.8454 GB, free: 73.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.54, allocations: 3.031 kB / 0.8454 GB, free: 73.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.527e-05/0.5401, allocations: 20.08 kB / 0.8454 GB, free: 73.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.5401, allocations: 6.688 kB / 0.8454 GB, free: 73.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5401, allocations: 1.312 kB / 0.8455 GB, free: 73.89 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003044/0.5431, allocations: 1.469 MB / 0.8469 GB, free: 73.22 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003278/0.5434, allocations: 280.6 kB / 0.8472 GB, free: 73.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.5436, allocations: 17.95 kB / 0.8472 GB, free: 73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007523/0.5443, allocations: 65.38 kB / 0.8472 GB, free: 72.99 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.5444, allocations: 57.5 kB / 0.8473 GB, free: 72.97 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.622e-05/0.5445, allocations: 25.03 kB / 0.8473 GB, free: 72.97 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008525/0.5453, allocations: 0.62 MB / 0.8479 GB, free: 72.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.5453, allocations: 0 / 0.8479 GB, free: 72.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001039/0.5464, allocations: 365.7 kB / 0.8483 GB, free: 72.61 MB / 0.6387 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.005/0.5514, allocations: 2.587 MB / 0.8508 GB, free: 71.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001946/0.5533, allocations: 0.7798 MB / 0.8516 GB, free: 71.03 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5533, allocations: 0 / 0.8516 GB, free: 71.03 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009236/0.5542, allocations: 392 kB / 0.8519 GB, free: 70.92 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/0.5561, allocations: 481.7 kB / 0.8524 GB, free: 70.77 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01587/0.572, allocations: 8.351 MB / 0.8605 GB, free: 66.63 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/0.5725, allocations: 1.039 MB / 0.8616 GB, free: 65.91 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007956/0.5733, allocations: 214.9 kB / 0.8618 GB, free: 65.86 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004664/0.5738, allocations: 411.3 kB / 0.8622 GB, free: 65.56 MB / 0.6387 GB Notification: Performance of SimCode: time 7.42e-07/0.5738, allocations: 0 / 0.8622 GB, free: 65.56 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05016/0.6239, allocations: 30.25 MB / 0.8917 GB, free: 44.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.233/9.857, allocations: 5.719 kB / 0.8917 GB, free: 44.5 MB / 0.6387 GB " [Timeout remaining time 650] (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 --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: 13.3286821149959]