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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 194.4 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8324/0.8324, allocations: 135.1 MB / 425.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 58.88 kB / 0.5048 GB, free: 5.707 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1211, allocations: 80.93 MB / 0.5838 GB, free: 4.941 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.2265/0.3476, allocations: 41.71 MB / 0.6245 GB, free: 30.81 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00924/0.3568, allocations: 10.94 MB / 0.6352 GB, free: 23.19 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008391/0.3577, allocations: 47.84 kB / 0.6353 GB, free: 23.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009123/0.3586, allocations: 466.7 kB / 0.6357 GB, free: 22.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.3605, allocations: 1.3 MB / 0.637 GB, free: 22.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001807/0.3623, allocations: 1.164 MB / 0.6381 GB, free: 21.47 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001929/0.3643, allocations: 3.532 MB / 0.6416 GB, free: 20.13 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007245/0.365, allocations: 0.9153 MB / 0.6425 GB, free: 19.73 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.3661, allocations: 0.9792 MB / 0.6434 GB, free: 19.28 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006044/0.3667, allocations: 0.8055 MB / 0.6442 GB, free: 18.92 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.3668, allocations: 58.69 kB / 0.6443 GB, free: 18.92 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.3678, allocations: 0.6615 MB / 0.6449 GB, free: 18.71 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.368, allocations: 217.8 kB / 0.6451 GB, free: 18.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003579/0.3683, allocations: 0.5691 MB / 0.6457 GB, free: 18.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.3695, allocations: 1.787 MB / 0.6474 GB, free: 17.56 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.3695, allocations: 0 / 0.6474 GB, free: 17.56 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.91e-07/0.3695, allocations: 0 / 0.6474 GB, free: 17.56 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.3696, allocations: 0 / 0.6474 GB, free: 17.56 MB / 0.4981 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.001686/0.3712, allocations: 1.509 MB / 0.6489 GB, free: 16.51 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.3713, allocations: 10.16 kB / 0.6489 GB, free: 16.51 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.3714, allocations: 122.3 kB / 0.649 GB, free: 16.43 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001512/0.3729, allocations: 324.5 kB / 0.6493 GB, free: 16.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.374, allocations: 0.9511 MB / 0.6502 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.374, allocations: 57.84 kB / 0.6503 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.404e-05/0.3741, allocations: 78.47 kB / 0.6504 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.3757, allocations: 1.002 MB / 0.6514 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.3757, allocations: 1.031 kB / 0.6514 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.055e-05/0.3758, allocations: 32.66 kB / 0.6514 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.3758, allocations: 21.69 kB / 0.6514 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.3778, allocations: 0.8201 MB / 0.6522 GB, free: 14.94 MB / 0.4981 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.003763/0.3816, allocations: 3.859 MB / 0.656 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.3832, allocations: 0.6192 MB / 0.6566 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007742/0.3839, allocations: 311 kB / 0.6569 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007109/0.3847, allocations: 0.9391 MB / 0.6578 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009569/0.3856, allocations: 427.3 kB / 0.6582 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 1.884e-06/0.3856, allocations: 1 kB / 0.6582 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47): time 0.002532/0.3882, allocations: 0.9698 MB / 0.6591 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.3882, allocations: 109.9 kB / 0.6593 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009525/0.3892, allocations: 0.8576 MB / 0.6601 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.3892, allocations: 38.52 kB / 0.6601 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.3895, allocations: 480.5 kB / 0.6606 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.3896, allocations: 169.7 kB / 0.6607 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.3898, allocations: 128 kB / 0.6609 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.841e-05/0.3899, allocations: 331.8 kB / 0.6612 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007732/0.3907, allocations: 297 kB / 0.6615 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008501/0.3915, allocations: 473.7 kB / 0.6619 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.3931, allocations: 0.7595 MB / 0.6627 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3931, allocations: 2.812 kB / 0.6627 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001956/0.395, allocations: 0.9064 MB / 0.6636 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.3951, allocations: 34.52 kB / 0.6636 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.3951, allocations: 8.344 kB / 0.6636 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.3951, allocations: 9.141 kB / 0.6636 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008765/0.396, allocations: 198.3 kB / 0.6638 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.396, allocations: 9.359 kB / 0.6638 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008265/0.3969, allocations: 140.7 kB / 0.6639 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.826e-05/0.3969, allocations: 42.11 kB / 0.664 GB, free: 7.664 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (73): * Single equations (assignments): 72 * 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.0002772/0.3972, allocations: 259.2 kB / 0.6642 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.3974, allocations: 104.7 kB / 0.6643 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/0.3997, allocations: 1.092 MB / 0.6654 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.3997, allocations: 8.578 kB / 0.6654 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3997, allocations: 0 / 0.6654 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.3998, allocations: 4.734 kB / 0.6654 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003128/0.4029, allocations: 2.149 MB / 0.6675 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.4029, allocations: 5.594 kB / 0.6675 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007498/0.4037, allocations: 149.5 kB / 0.6676 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.4037, allocations: 4.094 kB / 0.6676 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.41e-05/0.4037, allocations: 19.17 kB / 0.6677 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.4037, allocations: 4.078 kB / 0.6677 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4037, allocations: 6.031 kB / 0.6677 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/0.4064, allocations: 1.462 MB / 0.6691 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002845/0.4067, allocations: 268.4 kB / 0.6694 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.4069, allocations: 17.67 kB / 0.6694 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007488/0.4076, allocations: 96.47 kB / 0.6695 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.632e-05/0.4077, allocations: 56.3 kB / 0.6695 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.984e-05/0.4078, allocations: 25.27 kB / 0.6695 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006681/0.4084, allocations: 0.6066 MB / 0.6701 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4084, allocations: 0 / 0.6701 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008649/0.4093, allocations: 347.8 kB / 0.6705 GB, free: 4.59 MB / 0.4981 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.003969/0.4133, allocations: 2.555 MB / 0.673 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001757/0.4151, allocations: 0.7976 MB / 0.6737 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4151, allocations: 4.062 kB / 0.6738 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008944/0.416, allocations: 406.5 kB / 0.6741 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/0.4178, allocations: 460.6 kB / 0.6746 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02315/0.441, allocations: 8.957 MB / 0.6833 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009463/0.442, allocations: 1.047 MB / 0.6843 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001466/0.4435, allocations: 212.3 kB / 0.6845 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000915/0.4444, allocations: 410.9 kB / 0.6849 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of SimCode: time 6.31e-07/0.4444, allocations: 0 / 0.6849 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.362/1.806, allocations: 28.37 MB / 0.7126 GB, free: 8.801 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002776/1.807, allocations: 218.3 kB / 0.7129 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.528/4.335, allocations: 0 / 0.7129 GB, free: 8.551 MB / 0.5294 GB (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)