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.001145/0.001145, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 196 kB / 16.54 MB, free: 6.672 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.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8355/0.8355, allocations: 135.1 MB / 425.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 60.94 kB / 0.5054 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1374, allocations: 80.93 MB / 0.5845 GB, free: 4.402 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.DHW_example): time 0.23/0.3675, allocations: 41.94 MB / 0.6254 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009187/0.3767, allocations: 10.92 MB / 0.6361 GB, free: 22.88 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000752/0.3775, allocations: 52.78 kB / 0.6361 GB, free: 22.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009003/0.3784, allocations: 0.5479 MB / 0.6367 GB, free: 22.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001955/0.3804, allocations: 1.42 MB / 0.6381 GB, free: 21.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.3823, allocations: 1.288 MB / 0.6393 GB, free: 20.94 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001558/0.3839, allocations: 2.656 MB / 0.6419 GB, free: 19.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008368/0.3847, allocations: 1.102 MB / 0.643 GB, free: 19.15 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.3862, allocations: 1.133 MB / 0.6441 GB, free: 18.6 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006067/0.3868, allocations: 0.822 MB / 0.6449 GB, free: 18.21 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.3869, allocations: 110.2 kB / 0.645 GB, free: 18.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009801/0.3879, allocations: 0.6962 MB / 0.6457 GB, free: 18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.3881, allocations: 263.6 kB / 0.6459 GB, free: 17.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003548/0.3884, allocations: 0.6112 MB / 0.6465 GB, free: 17.44 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.3897, allocations: 1.818 MB / 0.6483 GB, free: 16.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3897, allocations: 4 kB / 0.6483 GB, free: 16.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.093e-06/0.3897, allocations: 0 / 0.6483 GB, free: 16.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.3897, allocations: 0 / 0.6483 GB, free: 16.73 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.001687/0.3914, allocations: 1.512 MB / 0.6498 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.3915, allocations: 10.47 kB / 0.6498 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.3916, allocations: 125.5 kB / 0.6499 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.3931, allocations: 321.6 kB / 0.6502 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.3941, allocations: 0.9153 MB / 0.6511 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.3941, allocations: 68.66 kB / 0.6512 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.072e-05/0.3942, allocations: 74.56 kB / 0.6513 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.3957, allocations: 1.005 MB / 0.6522 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.3958, allocations: 0 / 0.6522 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.506e-05/0.3958, allocations: 41.47 kB / 0.6523 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.3959, allocations: 18.5 kB / 0.6523 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.3978, allocations: 0.8243 MB / 0.6531 GB, free: 14.1 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.003779/0.4016, allocations: 4.028 MB / 0.657 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.4032, allocations: 0.6119 MB / 0.6576 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007844/0.404, allocations: 311.3 kB / 0.6579 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006372/0.4047, allocations: 0.9417 MB / 0.6588 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/0.4057, allocations: 423.9 kB / 0.6593 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=47): time 1.683e-06/0.4057, allocations: 0 / 0.6593 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47): time 0.002729/0.4084, allocations: 0.9749 MB / 0.6602 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.4085, allocations: 109.7 kB / 0.6603 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009989/0.4095, allocations: 0.8831 MB / 0.6612 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.4096, allocations: 41.25 kB / 0.6612 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.4098, allocations: 486.6 kB / 0.6617 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.41, allocations: 164.5 kB / 0.6618 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.4102, allocations: 135.2 kB / 0.662 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.522e-05/0.4102, allocations: 330.2 kB / 0.6623 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008273/0.411, allocations: 300.3 kB / 0.6626 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008933/0.412, allocations: 484.4 kB / 0.663 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/0.4136, allocations: 0.7819 MB / 0.6638 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.4136, allocations: 1.719 kB / 0.6638 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002029/0.4156, allocations: 0.9203 MB / 0.6647 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.4157, allocations: 38.88 kB / 0.6647 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.4157, allocations: 13.59 kB / 0.6647 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.4157, allocations: 9.094 kB / 0.6647 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008635/0.4166, allocations: 197.1 kB / 0.6649 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.4166, allocations: 11.06 kB / 0.6649 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007244/0.4173, allocations: 128.4 kB / 0.6651 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.681e-05/0.4174, allocations: 47.14 kB / 0.6651 GB, free: 6.598 MB / 0.4981 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.0002692/0.4177, allocations: 267.1 kB / 0.6654 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.4178, allocations: 99.22 kB / 0.6655 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/0.4202, allocations: 1.076 MB / 0.6665 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.4202, allocations: 7.812 kB / 0.6665 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.4203, allocations: 0 / 0.6665 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.4203, allocations: 4.922 kB / 0.6665 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00313/0.4234, allocations: 2.162 MB / 0.6686 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.4234, allocations: 0.9375 kB / 0.6686 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007472/0.4242, allocations: 154.3 kB / 0.6688 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.4242, allocations: 4.656 kB / 0.6688 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.24e-05/0.4242, allocations: 15.19 kB / 0.6688 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.4242, allocations: 8.203 kB / 0.6688 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4242, allocations: 1.594 kB / 0.6688 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00277/0.427, allocations: 1.474 MB / 0.6703 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002597/0.4273, allocations: 270.9 kB / 0.6705 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.4274, allocations: 21.16 kB / 0.6705 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006937/0.4281, allocations: 67.73 kB / 0.6706 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.374e-05/0.4282, allocations: 46.2 kB / 0.6706 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/0.4283, allocations: 29.53 kB / 0.6707 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006792/0.429, allocations: 0.6201 MB / 0.6713 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.429, allocations: 0 / 0.6713 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000871/0.4298, allocations: 353.9 kB / 0.6716 GB, free: 3.52 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.004017/0.4339, allocations: 2.58 MB / 0.6741 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002061/0.4359, allocations: 0.854 MB / 0.675 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4359, allocations: 1.188 kB / 0.675 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009362/0.4369, allocations: 408.7 kB / 0.6754 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/0.4387, allocations: 476.6 kB / 0.6758 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01604/0.4548, allocations: 8.71 MB / 0.6843 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005889/0.4554, allocations: 1.04 MB / 0.6853 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007841/0.4562, allocations: 223.2 kB / 0.6855 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005162/0.4567, allocations: 406.6 kB / 0.6859 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.4567, allocations: 1.219 kB / 0.6859 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.611/3.068, allocations: 29.75 MB / 0.715 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.391/12.46, allocations: 0 / 0.715 GB, free: 6.422 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)