Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.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.Tap,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_Tap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Taps.Examples.Tap,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Taps_Examples_Tap",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.00135/0.00135, allocations: 108 kB / 15.61 MB, free: 144 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.00138/0.00138, allocations: 193.9 kB / 16.53 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.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9616/0.9616, allocations: 135.6 MB / 425.9 MB, free: 11.98 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 68.14 kB / 0.506 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1475, allocations: 81.01 MB / 0.5851 GB, free: 3.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.2553/0.4028, allocations: 43.34 MB / 0.6274 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007146/0.41, allocations: 7.312 MB / 0.6345 GB, free: 23.93 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008085/0.4108, allocations: 40.53 kB / 0.6346 GB, free: 23.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008753/0.4117, allocations: 486.8 kB / 0.635 GB, free: 23.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002296/0.4141, allocations: 1.433 MB / 0.6364 GB, free: 22.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.4158, allocations: 1.036 MB / 0.6374 GB, free: 22.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001543/0.4174, allocations: 2.536 MB / 0.6399 GB, free: 20.96 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007642/0.4181, allocations: 0.8626 MB / 0.6408 GB, free: 20.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/0.4196, allocations: 1.224 MB / 0.642 GB, free: 19.96 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005445/0.4201, allocations: 0.6931 MB / 0.6426 GB, free: 19.64 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.4202, allocations: 81.12 kB / 0.6427 GB, free: 19.64 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.4215, allocations: 0.8141 MB / 0.6435 GB, free: 19.31 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.4217, allocations: 229.5 kB / 0.6437 GB, free: 19.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003499/0.422, allocations: 0.5077 MB / 0.6442 GB, free: 18.86 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001277/0.4233, allocations: 1.543 MB / 0.6457 GB, free: 18.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4233, allocations: 0 / 0.6457 GB, free: 18.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.293e-06/0.4233, allocations: 0 / 0.6457 GB, free: 18.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.4233, allocations: 0 / 0.6457 GB, free: 18.27 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.00157/0.4249, allocations: 1.369 MB / 0.6471 GB, free: 17.3 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.4249, allocations: 10.62 kB / 0.6471 GB, free: 17.3 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.01e-05/0.425, allocations: 109.4 kB / 0.6472 GB, free: 17.22 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.4252, allocations: 115.6 kB / 0.6473 GB, free: 17.17 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007077/0.4259, allocations: 0.7008 MB / 0.648 GB, free: 16.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/0.426, allocations: 53.06 kB / 0.648 GB, free: 16.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.634e-05/0.426, allocations: 73.88 kB / 0.6481 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.4272, allocations: 0.8315 MB / 0.6489 GB, free: 16.22 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.4272, allocations: 6.562 kB / 0.6489 GB, free: 16.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.514e-05/0.4273, allocations: 36.58 kB / 0.649 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.4273, allocations: 15.19 kB / 0.649 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.4285, allocations: 0.5892 MB / 0.6495 GB, free: 16 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.002645/0.4311, allocations: 4.001 MB / 0.6534 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009727/0.4321, allocations: 384.1 kB / 0.6538 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004554/0.4326, allocations: 237.7 kB / 0.654 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006052/0.4332, allocations: 1.306 MB / 0.6553 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006228/0.4338, allocations: 297.9 kB / 0.6556 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=39): time 1.943e-06/0.4338, allocations: 0 / 0.6556 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.001697/0.4355, allocations: 0.7 MB / 0.6563 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.4356, allocations: 65.5 kB / 0.6563 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007509/0.4363, allocations: 0.7233 MB / 0.6571 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.106e-05/0.4364, allocations: 39.61 kB / 0.6571 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.4366, allocations: 449.7 kB / 0.6575 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.558e-05/0.4367, allocations: 126.9 kB / 0.6576 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.4369, allocations: 135.9 kB / 0.6578 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.528e-05/0.4369, allocations: 326.4 kB / 0.6581 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005135/0.4374, allocations: 219.2 kB / 0.6583 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006259/0.4381, allocations: 418.2 kB / 0.6587 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.4391, allocations: 0.6515 MB / 0.6593 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.4392, allocations: 1.531 kB / 0.6593 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00153/0.4407, allocations: 0.7736 MB / 0.6601 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/0.4407, allocations: 68.33 kB / 0.6601 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.4408, allocations: 10.03 kB / 0.6602 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.4408, allocations: 14.36 kB / 0.6602 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/0.4413, allocations: 135 kB / 0.6603 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.4413, allocations: 13.86 kB / 0.6603 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006099/0.4419, allocations: 104.5 kB / 0.6604 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.599e-05/0.442, allocations: 39.81 kB / 0.6604 GB, free: 8.207 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 13 (m_flow_set2.count,$PRE.m_flow_set2.count,m_flow_set2.T_start,$PRE.m_flow_set2.T_start,tap2.DHWCom,tap1.DHWCom,m_flow_set1.count,$PRE.m_flow_set1.count,m_flow_set1.T_start,$PRE.m_flow_set1.T_start,$whenCondition1,$whenCondition2,DHWDisCom1_Kh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * 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.0002537/0.4422, allocations: 242.3 kB / 0.6607 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.4424, allocations: 92 kB / 0.6608 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/0.4445, allocations: 1.105 MB / 0.6618 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-05/0.4445, allocations: 17.88 kB / 0.6619 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4446, allocations: 2.203 kB / 0.6619 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.4446, allocations: 3.234 kB / 0.6619 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002684/0.4473, allocations: 1.923 MB / 0.6637 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.4473, allocations: 3.375 kB / 0.6638 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003886/0.4477, allocations: 99.81 kB / 0.6638 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.4477, allocations: 5.625 kB / 0.6639 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.966e-05/0.4477, allocations: 21.41 kB / 0.6639 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.4477, allocations: 11.03 kB / 0.6639 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.4478, allocations: 7.531 kB / 0.6639 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/0.45, allocations: 1.401 MB / 0.6653 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002483/0.4502, allocations: 255.6 kB / 0.6655 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.4504, allocations: 16.17 kB / 0.6655 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000478/0.4508, allocations: 54.77 kB / 0.6656 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.451, allocations: 77.05 kB / 0.6656 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.237e-05/0.451, allocations: 29.34 kB / 0.6657 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000539/0.4516, allocations: 0.49 MB / 0.6661 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4516, allocations: 0 / 0.6661 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009042/0.4525, allocations: 336.5 kB / 0.6665 GB, free: 5.371 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 1 (DHWDisCom1_Kh.y) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,m_flow_set1.T_start,m_flow_set1.count,tap1.DHWCom,tap2.DHWCom,m_flow_set2.T_start,m_flow_set2.count) * Number of discrete states: 2 (m_flow_set2.count,m_flow_set1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 4 * 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.002855/0.4554, allocations: 2.263 MB / 0.6687 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001585/0.457, allocations: 0.8019 MB / 0.6695 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.457, allocations: 2.062 kB / 0.6695 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008397/0.4578, allocations: 466.5 kB / 0.6699 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.4594, allocations: 376.6 kB / 0.6703 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008123/0.4675, allocations: 6.883 MB / 0.677 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006186/0.4682, allocations: 1.018 MB / 0.678 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004991/0.4687, allocations: 160.8 kB / 0.6781 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004434/0.4691, allocations: 359 kB / 0.6785 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.4691, allocations: 4 kB / 0.6785 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.868/3.337, allocations: 26.68 MB / 0.7045 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.49/17.83, allocations: 3.938 kB / 0.7045 GB, free: 0.7656 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Taps_Examples_Tap_fmu --startTime=0 --stopTime=259200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Taps_Examples_Tap.fmu > IDEAS_dev_IDEAS.Fluid.Taps.Examples.Tap.pipe 2>&1)