Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.WaterComponents.WaterPumps,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_WaterPumps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.WaterPumps,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_WaterPumps",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.0007913/0.0007914, allocations: 89.73 kB / 16.31 MB, free: 5.652 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.0008697/0.0008697, allocations: 182.4 kB / 17.21 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.4 MB / 223.4 MB, free: 5.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4239/0.4239, allocations: 48.78 MB / 320.4 MB, free: 3.82 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005192/0.0005192, allocations: 20 kB / 391.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.127, allocations: 60.26 MB / 451.5 MB, free: 1.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.WaterPumps): time 0.2618/0.3888, allocations: 76.8 MB / 0.516 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01679/0.4057, allocations: 10.55 MB / 0.5263 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.4069, allocations: 35.38 kB / 0.5263 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.4082, allocations: 309.5 kB / 0.5266 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002372/0.4106, allocations: 0.6976 MB / 0.5273 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01639/0.427, allocations: 4.249 MB / 0.5314 GB, free: 444 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003632/0.4307, allocations: 1.898 MB / 0.5333 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.4319, allocations: 444.7 kB / 0.5337 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004249/0.4362, allocations: 2.047 MB / 0.5357 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/0.4377, allocations: 0.9191 MB / 0.5366 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.866e-05/0.4378, allocations: 36 kB / 0.5366 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01353/0.4513, allocations: 6.125 MB / 0.5426 GB, free: 5.113 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003043/0.4517, allocations: 131.4 kB / 0.5427 GB, free: 4.984 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004787/0.4522, allocations: 201.2 kB / 0.5429 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00606/0.4582, allocations: 2.908 MB / 0.5458 GB, free: 1.867 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4582, allocations: 0 / 0.5458 GB, free: 1.867 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4583, allocations: 0 / 0.5458 GB, free: 1.867 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.4583, allocations: 4 kB / 0.5458 GB, free: 1.863 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003828/0.4621, allocations: 1.493 MB / 0.5472 GB, free: 332 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.4622, allocations: 12.03 kB / 0.5472 GB, free: 320 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001308/0.4623, allocations: 110.5 kB / 0.5473 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003614/0.4627, allocations: 134.8 kB / 0.5475 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007117/0.4634, allocations: 0.51 MB / 0.548 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.4635, allocations: 143 kB / 0.5481 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.4637, allocations: 64 kB / 0.5482 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.4651, allocations: 0.7834 MB / 0.5489 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.4652, allocations: 3.938 kB / 0.5489 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.959e-05/0.4652, allocations: 27.98 kB / 0.549 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.4653, allocations: 20 kB / 0.549 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.4666, allocations: 0.5984 MB / 0.5496 GB, free: 13.82 MB / 430.1 MB 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.003627/0.4702, allocations: 3.65 MB / 0.5531 GB, free: 9.793 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.4715, allocations: 0.5287 MB / 0.5536 GB, free: 9.254 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004178/0.472, allocations: 218.8 kB / 0.5539 GB, free: 9.039 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05855/0.5305, allocations: 32.43 MB / 0.5855 GB, free: 4.781 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/0.5306, allocations: 35.38 kB / 0.5856 GB, free: 4.738 MB / 462.1 MB Notification: Performance of pre-optimization done (n=53): time 2.435e-06/0.5306, allocations: 4 kB / 0.5856 GB, free: 4.734 MB / 462.1 MB Notification: Performance of matching and sorting (n=53): time 0.004618/0.5353, allocations: 1.491 MB / 0.587 GB, free: 3.176 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.5353, allocations: 59.84 kB / 0.5871 GB, free: 3.105 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006344/0.536, allocations: 0.5707 MB / 0.5876 GB, free: 2.527 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.536, allocations: 29.7 kB / 0.5877 GB, free: 2.492 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.5363, allocations: 352.5 kB / 0.588 GB, free: 2.141 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.5364, allocations: 189.2 kB / 0.5882 GB, free: 1.953 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.5365, allocations: 8 kB / 0.5882 GB, free: 1.945 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.5366, allocations: 378.8 kB / 0.5885 GB, free: 1.566 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000389/0.537, allocations: 173 kB / 0.5887 GB, free: 1.398 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004386/0.5375, allocations: 273.2 kB / 0.589 GB, free: 1.09 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.5379, allocations: 206.1 kB / 0.5892 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.5379, allocations: 0 / 0.5892 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001687/0.5396, allocations: 0.7462 MB / 0.5899 GB, free: 128 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001445/0.5398, allocations: 182 kB / 0.5901 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.5398, allocations: 4 kB / 0.5901 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.541, allocations: 291.2 kB / 0.5904 GB, free: 15.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004085/0.5414, allocations: 107.8 kB / 0.5905 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.543, allocations: 1.889 MB / 0.5923 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005511/0.5436, allocations: 107.4 kB / 0.5924 GB, free: 13.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.363e-05/0.5437, allocations: 27.98 kB / 0.5924 GB, free: 13.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/0.5437, allocations: 8 kB / 0.5924 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001352/0.545, allocations: 0.6281 MB / 0.593 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5451, allocations: 0 / 0.593 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004853/0.5455, allocations: 166.8 kB / 0.5932 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004042/0.546, allocations: 120.5 kB / 0.5933 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00516/0.5511, allocations: 4.929 MB / 0.5981 GB, free: 7.152 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005818/0.5517, allocations: 99.38 kB / 0.5982 GB, free: 7.055 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/0.5518, allocations: 20 kB / 0.5982 GB, free: 7.035 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (Pump3.int_Np,Pump2.int_Np,Pump1.int_Np,Pump3.inletFluidState.phase,Pump2.inletFluidState.phase,Pump1.inletFluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003308/0.5521, allocations: 261.7 kB / 0.5985 GB, free: 6.77 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.5522, allocations: 79.06 kB / 0.5986 GB, free: 6.691 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/0.5546, allocations: 1.531 MB / 0.6001 GB, free: 5.145 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.5546, allocations: 19.92 kB / 0.6001 GB, free: 5.125 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.5546, allocations: 0 / 0.6001 GB, free: 5.125 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.5546, allocations: 3.984 kB / 0.6001 GB, free: 5.121 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009616/0.5556, allocations: 0.8114 MB / 0.6009 GB, free: 4.258 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.5556, allocations: 0 / 0.6009 GB, free: 4.258 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003677/0.556, allocations: 79.94 kB / 0.601 GB, free: 4.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001651/0.5576, allocations: 1.037 MB / 0.602 GB, free: 3.133 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.762e-05/0.5577, allocations: 15.95 kB / 0.602 GB, free: 3.117 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002117/0.5598, allocations: 2.522 MB / 0.6045 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5598, allocations: 0 / 0.6045 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/0.5625, allocations: 1.86 MB / 0.6063 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002711/0.5628, allocations: 203.8 kB / 0.6065 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.525e-05/0.5629, allocations: 11.95 kB / 0.6065 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004074/0.5633, allocations: 67.8 kB / 0.6065 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.5634, allocations: 44.48 kB / 0.6066 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.803e-05/0.5635, allocations: 20 kB / 0.6066 GB, free: 14.28 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004184/0.5639, allocations: 383.1 kB / 0.607 GB, free: 13.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5639, allocations: 4 kB / 0.607 GB, free: 13.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003527/0.5674, allocations: 1.167 MB / 0.6081 GB, free: 12.73 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Pump1.h,Pump2.h,Pump3.h) * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 8,2 8,2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.006735/0.5742, allocations: 2.948 MB / 0.611 GB, free: 9.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002679/0.5769, allocations: 1.276 MB / 0.6122 GB, free: 8.441 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.5769, allocations: 0 / 0.6122 GB, free: 8.441 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.5779, allocations: 469.5 kB / 0.6127 GB, free: 7.988 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/0.5799, allocations: 365.6 kB / 0.613 GB, free: 7.641 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009215/0.5891, allocations: 4.871 MB / 0.6178 GB, free: 2.672 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005443/0.5897, allocations: 0.979 MB / 0.6187 GB, free: 1.664 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006684/0.5904, allocations: 199.8 kB / 0.6189 GB, free: 1.469 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000383/0.5908, allocations: 307.3 kB / 0.6192 GB, free: 1.168 MB / 494.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5908, allocations: 0 / 0.6192 GB, free: 1.168 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3167/0.9075, allocations: 50.74 MB / 0.6688 GB, free: 149.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.9077, allocations: 203.9 kB / 0.669 GB, free: 149.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.282/5.19, allocations: 3.938 kB / 0.669 GB, free: 149.3 MB / 0.4981 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_WaterPumps_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_WaterPumps.fmu > ThermoPower_ThermoPower.Test.WaterComponents.WaterPumps.pipe 2>&1) Environment - environmentSimulation: