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.001685/0.001685, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00188/0.001881, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.212/1.212, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9261/0.9261, allocations: 135.1 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002698/0.002698, allocations: 60.62 kB / 0.505 GB, free: 5.59 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1504, allocations: 80.93 MB / 0.584 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.2381/0.3885, allocations: 41.61 MB / 0.6246 GB, free: 30.87 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009625/0.3982, allocations: 10.82 MB / 0.6352 GB, free: 23.3 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008181/0.399, allocations: 48.47 kB / 0.6352 GB, free: 23.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009669/0.4, allocations: 480.4 kB / 0.6357 GB, free: 22.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002099/0.4022, allocations: 1.311 MB / 0.637 GB, free: 22.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002012/0.4042, allocations: 1.175 MB / 0.6381 GB, free: 21.55 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001725/0.4059, allocations: 2.684 MB / 0.6407 GB, free: 20.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008612/0.4068, allocations: 1.085 MB / 0.6418 GB, free: 19.74 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001662/0.4085, allocations: 1.133 MB / 0.6429 GB, free: 19.19 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006124/0.4091, allocations: 0.8315 MB / 0.6437 GB, free: 18.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.4092, allocations: 110.6 kB / 0.6438 GB, free: 18.8 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009622/0.4102, allocations: 0.6936 MB / 0.6445 GB, free: 18.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.4103, allocations: 270.4 kB / 0.6448 GB, free: 18.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003542/0.4107, allocations: 0.6199 MB / 0.6454 GB, free: 18.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.412, allocations: 1.827 MB / 0.6471 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.412, allocations: 0 / 0.6471 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.412, allocations: 4 kB / 0.6471 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.412, allocations: 2.656 kB / 0.6471 GB, free: 17.31 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.001731/0.4137, allocations: 1.509 MB / 0.6486 GB, free: 16.26 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.4138, allocations: 7.406 kB / 0.6486 GB, free: 16.26 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.4139, allocations: 125.4 kB / 0.6487 GB, free: 16.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.4154, allocations: 323.9 kB / 0.6491 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.4165, allocations: 0.955 MB / 0.65 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.4166, allocations: 65.39 kB / 0.6501 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.951e-05/0.4167, allocations: 76.44 kB / 0.6501 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.4183, allocations: 0.9947 MB / 0.6511 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.4184, allocations: 0 / 0.6511 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.015e-05/0.4184, allocations: 37.53 kB / 0.6511 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.4184, allocations: 23.84 kB / 0.6512 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/0.4203, allocations: 0.818 MB / 0.652 GB, free: 14.68 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.003759/0.4241, allocations: 3.85 MB / 0.6557 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.4257, allocations: 0.613 MB / 0.6563 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007611/0.4264, allocations: 310.4 kB / 0.6566 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006428/0.4271, allocations: 0.9419 MB / 0.6575 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009362/0.428, allocations: 426.2 kB / 0.6579 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 1.623e-06/0.428, allocations: 4 kB / 0.6579 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47): time 0.00265/0.4307, allocations: 0.9648 MB / 0.6589 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.4307, allocations: 109.5 kB / 0.659 GB, free: 10 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009558/0.4317, allocations: 0.8619 MB / 0.6598 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/0.4318, allocations: 37.84 kB / 0.6599 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000267/0.432, allocations: 485.2 kB / 0.6603 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.4322, allocations: 168.6 kB / 0.6605 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.4324, allocations: 128.6 kB / 0.6606 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.045e-05/0.4324, allocations: 327.3 kB / 0.6609 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008347/0.4333, allocations: 297.4 kB / 0.6612 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008903/0.4342, allocations: 470 kB / 0.6617 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.4358, allocations: 0.7639 MB / 0.6624 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4358, allocations: 2.156 kB / 0.6624 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002045/0.4378, allocations: 0.9049 MB / 0.6633 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.4379, allocations: 34.89 kB / 0.6633 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.4379, allocations: 13.84 kB / 0.6633 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.4379, allocations: 8.562 kB / 0.6633 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008981/0.4388, allocations: 201.7 kB / 0.6635 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.4388, allocations: 9.594 kB / 0.6635 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008272/0.4397, allocations: 136.8 kB / 0.6637 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.138e-05/0.4397, allocations: 36.75 kB / 0.6637 GB, free: 7.418 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.0002864/0.44, allocations: 258.5 kB / 0.664 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.4402, allocations: 103.9 kB / 0.6641 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002445/0.4426, allocations: 1.089 MB / 0.6651 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.4427, allocations: 10.83 kB / 0.6651 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.4427, allocations: 1.656 kB / 0.6651 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.4427, allocations: 3.875 kB / 0.6651 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003286/0.446, allocations: 2.153 MB / 0.6672 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.446, allocations: 1.062 kB / 0.6672 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008084/0.4468, allocations: 154.3 kB / 0.6674 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.4468, allocations: 3.469 kB / 0.6674 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.812e-05/0.4469, allocations: 19.77 kB / 0.6674 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.4469, allocations: 3.969 kB / 0.6674 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4469, allocations: 6.375 kB / 0.6674 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002859/0.4498, allocations: 1.458 MB / 0.6688 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002912/0.4501, allocations: 272.8 kB / 0.6691 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.4502, allocations: 22.58 kB / 0.6691 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008232/0.451, allocations: 92 kB / 0.6692 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.4511, allocations: 57.12 kB / 0.6693 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.418e-05/0.4512, allocations: 25.47 kB / 0.6693 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006821/0.4519, allocations: 0.6045 MB / 0.6699 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4519, allocations: 0 / 0.6699 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008515/0.4527, allocations: 351.2 kB / 0.6702 GB, free: 4.332 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.004157/0.4569, allocations: 2.557 MB / 0.6727 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002055/0.459, allocations: 0.8456 MB / 0.6735 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.459, allocations: 1.438 kB / 0.6735 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009496/0.4599, allocations: 412.9 kB / 0.6739 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.4619, allocations: 486.3 kB / 0.6744 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01742/0.4793, allocations: 8.961 MB / 0.6831 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005857/0.4799, allocations: 1.039 MB / 0.6842 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000848/0.4808, allocations: 217.2 kB / 0.6844 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000565/0.4813, allocations: 407.6 kB / 0.6848 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.4813, allocations: 0 / 0.6848 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.191/1.672, allocations: 29.11 MB / 0.7132 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003576/1.673, allocations: 225.8 kB / 0.7134 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.89/5.562, allocations: 4 kB / 0.7134 GB, free: 8.078 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)