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.004487/0.004487, allocations: 98.2 kB / 15.73 MB, free: 6.043 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.001262/0.001262, allocations: 200.8 kB / 16.68 MB, free: 5.969 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9374/0.9374, allocations: 135.5 MB / 426.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 71.88 kB / 0.5857 GB, free: 3.227 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3412, allocations: 81.02 MB / 0.6649 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Taps.Examples.Tap): time 0.04087/0.3821, allocations: 43.33 MB / 0.7072 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01021/0.3924, allocations: 7.316 MB / 0.7143 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009156/0.3933, allocations: 42.75 kB / 0.7144 GB, free: 14.01 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.3945, allocations: 488 kB / 0.7148 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002994/0.3975, allocations: 1.419 MB / 0.7162 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002271/0.3997, allocations: 1.052 MB / 0.7172 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002567/0.4023, allocations: 2.537 MB / 0.7197 GB, free: 8.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.4035, allocations: 0.8742 MB / 0.7206 GB, free: 7.707 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002027/0.4056, allocations: 1.225 MB / 0.7218 GB, free: 6.477 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008867/0.4065, allocations: 0.7038 MB / 0.7224 GB, free: 5.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.4066, allocations: 84 kB / 0.7225 GB, free: 5.688 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.4082, allocations: 0.811 MB / 0.7233 GB, free: 4.875 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.4084, allocations: 227.2 kB / 0.7235 GB, free: 4.652 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005173/0.4089, allocations: 0.5131 MB / 0.724 GB, free: 4.137 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001953/0.4109, allocations: 1.578 MB / 0.7256 GB, free: 2.555 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4109, allocations: 3.938 kB / 0.7256 GB, free: 2.551 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4109, allocations: 0 / 0.7256 GB, free: 2.551 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.4109, allocations: 0 / 0.7256 GB, free: 2.551 MB / 0.545 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.002058/0.413, allocations: 1.396 MB / 0.7269 GB, free: 1.086 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.413, allocations: 12.02 kB / 0.727 GB, free: 1.074 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001295/0.4132, allocations: 118.6 kB / 0.7271 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/0.4134, allocations: 116.2 kB / 0.7272 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.4146, allocations: 0.757 MB / 0.7279 GB, free: 40 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.4147, allocations: 58.08 kB / 0.728 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.4148, allocations: 72 kB / 0.728 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.4163, allocations: 0.8261 MB / 0.7289 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.4163, allocations: 11.94 kB / 0.7289 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.356e-05/0.4164, allocations: 32 kB / 0.7289 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.4164, allocations: 16 kB / 0.7289 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.4178, allocations: 0.5904 MB / 0.7295 GB, free: 14.37 MB / 0.5606 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.003946/0.4218, allocations: 3.985 MB / 0.7334 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.4229, allocations: 374.4 kB / 0.7337 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005491/0.4234, allocations: 240.6 kB / 0.734 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/0.4245, allocations: 1.306 MB / 0.7352 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006888/0.4252, allocations: 301.8 kB / 0.7355 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=39): time 2.264e-06/0.4252, allocations: 0 / 0.7355 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.001825/0.427, allocations: 0.7054 MB / 0.7362 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.4271, allocations: 59.41 kB / 0.7363 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008677/0.428, allocations: 0.7238 MB / 0.737 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.054e-05/0.428, allocations: 37.7 kB / 0.737 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/0.4284, allocations: 460.4 kB / 0.7375 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.4285, allocations: 130.9 kB / 0.7376 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.4287, allocations: 142.2 kB / 0.7377 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.4289, allocations: 322 kB / 0.738 GB, free: 5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005662/0.4295, allocations: 217 kB / 0.7382 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007548/0.4302, allocations: 423.7 kB / 0.7386 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.4315, allocations: 0.6483 MB / 0.7393 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.4315, allocations: 4 kB / 0.7393 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001647/0.4331, allocations: 0.7789 MB / 0.74 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.357e-05/0.4332, allocations: 67.44 kB / 0.7401 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4332, allocations: 12 kB / 0.7401 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.4332, allocations: 8 kB / 0.7401 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004689/0.4337, allocations: 131.8 kB / 0.7402 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/0.4337, allocations: 15.92 kB / 0.7403 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005954/0.4343, allocations: 107.4 kB / 0.7404 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.546e-05/0.4344, allocations: 47.92 kB / 0.7404 GB, free: 2.363 MB / 0.5606 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.0003041/0.4347, allocations: 250.3 kB / 0.7406 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.4349, allocations: 91.38 kB / 0.7407 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002234/0.4371, allocations: 1.096 MB / 0.7418 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/0.4371, allocations: 15.98 kB / 0.7418 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.4372, allocations: 0 / 0.7418 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.4372, allocations: 11.98 kB / 0.7418 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002956/0.4401, allocations: 1.921 MB / 0.7437 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.4402, allocations: 4.375 kB / 0.7437 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003887/0.4405, allocations: 103.9 kB / 0.7438 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.4406, allocations: 8 kB / 0.7438 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.354e-05/0.4406, allocations: 19.98 kB / 0.7438 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.257e-06/0.4406, allocations: 15.81 kB / 0.7438 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.4406, allocations: 4 kB / 0.7439 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002505/0.4431, allocations: 1.407 MB / 0.7452 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000298/0.4435, allocations: 264.2 kB / 0.7455 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.4436, allocations: 16 kB / 0.7455 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004921/0.4441, allocations: 55.88 kB / 0.7455 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.4442, allocations: 76.47 kB / 0.7456 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/0.4443, allocations: 27.98 kB / 0.7456 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006286/0.4449, allocations: 0.4912 MB / 0.7461 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4449, allocations: 0 / 0.7461 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008897/0.4458, allocations: 331.2 kB / 0.7464 GB, free: 12 MB / 0.5762 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.003602/0.4494, allocations: 2.277 MB / 0.7487 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001554/0.451, allocations: 0.7583 MB / 0.7494 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.451, allocations: 5.25 kB / 0.7494 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000992/0.452, allocations: 467.7 kB / 0.7499 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.4537, allocations: 371.2 kB / 0.7502 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.4638, allocations: 6.611 MB / 0.7567 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006433/0.4644, allocations: 1.026 MB / 0.7577 GB, free: 44 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000536/0.465, allocations: 170.5 kB / 0.7578 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004618/0.4654, allocations: 351.3 kB / 0.7582 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of SimCode: time 7.11e-07/0.4655, allocations: 0 / 0.7582 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.084/2.549, allocations: 26.93 MB / 0.7845 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/15.73, allocations: 7.938 kB / 0.7845 GB, free: 4.891 MB / 0.6075 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)