Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.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/ThermalSeparation 0.2.0-master/package.mo", uses=false) Using package ThermalSeparation with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.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(ThermalSeparation.Examples.Testing.Pump.PumpSystem,fileNamePrefix="ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermalSeparation.Examples.Testing.Pump.PumpSystem,fileNamePrefix="ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem",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.0006971/0.0006972, allocations: 102.6 kB / 16.02 MB, free: 76 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.0007312/0.0007312, allocations: 179.4 kB / 16.92 MB, free: 6.922 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.451/1.451, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.4851/0.4851, allocations: 64.91 MB / 357 MB, free: 4.918 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003388, allocations: 12.61 kB / 432.7 MB, free: 39.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.141, allocations: 64.86 MB / 497.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.007087/0.1482, allocations: 6.971 MB / 0.4927 GB, free: 8.398 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005964/0.1542, allocations: 4.303 MB / 0.4969 GB, free: 4.078 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006354/0.1549, allocations: 8 kB / 0.4969 GB, free: 4.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.1561, allocations: 0.5131 MB / 0.4974 GB, free: 3.555 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001571/0.1577, allocations: 0.672 MB / 0.4981 GB, free: 2.879 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.1588, allocations: 487.5 kB / 0.4985 GB, free: 2.402 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00317/0.162, allocations: 3.183 MB / 0.5016 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007481/0.1627, allocations: 0.6095 MB / 0.5022 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008087/0.1635, allocations: 0.7046 MB / 0.5029 GB, free: 13.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001229/0.1648, allocations: 1.028 MB / 0.5039 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.1649, allocations: 80 kB / 0.504 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.1652, allocations: 80 kB / 0.5041 GB, free: 12.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005592/0.1657, allocations: 0.6816 MB / 0.5047 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000855/0.1666, allocations: 0.958 MB / 0.5057 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002253/0.1689, allocations: 2.869 MB / 0.5085 GB, free: 8.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1689, allocations: 0 / 0.5085 GB, free: 8.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1689, allocations: 0 / 0.5085 GB, free: 8.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.101e-05/0.1689, allocations: 0 / 0.5085 GB, free: 8.16 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 546 * Number of variables: 546 Notification: Performance of Generate backend data structure: time 0.003545/0.1725, allocations: 1.819 MB / 0.5103 GB, free: 6.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.1725, allocations: 8.031 kB / 0.5103 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003526/0.1729, allocations: 304 kB / 0.5106 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002945/0.1732, allocations: 190.7 kB / 0.5107 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.1743, allocations: 0.7435 MB / 0.5115 GB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.1744, allocations: 152.3 kB / 0.5116 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006891/0.1751, allocations: 272.3 kB / 0.5119 GB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003922/0.179, allocations: 2.735 MB / 0.5145 GB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.262e-05/0.1791, allocations: 11.92 kB / 0.5146 GB, free: 1.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001798/0.1792, allocations: 83.98 kB / 0.5146 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000159/0.1794, allocations: 151.5 kB / 0.5148 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00345/0.1829, allocations: 2.188 MB / 0.5169 GB, free: 15.22 MB / 398.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.01164/0.1945, allocations: 10.82 MB / 0.5275 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00289/0.1974, allocations: 2.782 MB / 0.5302 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001069/0.1985, allocations: 0.6601 MB / 0.5308 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.555e-05/0.1986, allocations: 24.83 kB / 0.5309 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.1987, allocations: 47.56 kB / 0.5309 GB, free: 15.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=115): time 3.006e-06/0.1987, allocations: 4 kB / 0.5309 GB, free: 15.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.0197/0.2184, allocations: 7.627 MB / 0.5384 GB, free: 8.109 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004803/0.2232, allocations: 3.904 MB / 0.5422 GB, free: 3.875 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.2246, allocations: 1.083 MB / 0.5432 GB, free: 2.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001952/0.2248, allocations: 45.7 kB / 0.5433 GB, free: 2.719 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005667/0.2254, allocations: 0.9435 MB / 0.5442 GB, free: 1.758 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004381/0.2258, allocations: 0.4969 MB / 0.5447 GB, free: 1.254 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/0.2261, allocations: 186.4 kB / 0.5449 GB, free: 1.066 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2262, allocations: 345.9 kB / 0.5452 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.2277, allocations: 0.9143 MB / 0.5461 GB, free: 15.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/0.2298, allocations: 1.89 MB / 0.5479 GB, free: 13.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003663/0.2335, allocations: 2.963 MB / 0.5508 GB, free: 10.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/0.2335, allocations: 8 kB / 0.5508 GB, free: 10.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.00855/0.242, allocations: 3.712 MB / 0.5545 GB, free: 6.297 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.581e-05/0.2421, allocations: 24.06 kB / 0.5545 GB, free: 6.273 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.975e-05/0.2422, allocations: 32 kB / 0.5545 GB, free: 6.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004925/0.2471, allocations: 1.013 MB / 0.5555 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003095/0.2502, allocations: 0.5694 MB / 0.5561 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/0.2607, allocations: 6.292 MB / 0.5622 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002387/0.2631, allocations: 223.6 kB / 0.5624 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/0.2633, allocations: 124 kB / 0.5625 GB, free: 13.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 5 (tank.mediumLiquidIn.state.phase,tank.mediumLiquid.state.phase,sourceLiquid.medium.state.phase,idealPumpControlledVdot.mediumLiquidIn.state.phase,idealPumpControlledVdot.mediumLiquid.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 264 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,14,63.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0009663/0.2643, allocations: 0.5725 MB / 0.5631 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002864/0.2646, allocations: 126.4 kB / 0.5632 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007727/0.2723, allocations: 2.883 MB / 0.566 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006836/0.2792, allocations: 2.519 MB / 0.5685 GB, free: 7.672 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.344e-05/0.2792, allocations: 4 kB / 0.5685 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-05/0.2793, allocations: 15.91 kB / 0.5685 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01292/0.2922, allocations: 6.078 MB / 0.5744 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/0.2922, allocations: 7.984 kB / 0.5744 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/0.2941, allocations: 300.1 kB / 0.5747 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005668/0.2998, allocations: 1.226 MB / 0.5759 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/0.2999, allocations: 39.97 kB / 0.576 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009121/0.3091, allocations: 6.026 MB / 0.5819 GB, free: 9.586 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005023/0.3141, allocations: 3.782 MB / 0.5855 GB, free: 5.512 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009172/0.3233, allocations: 4.353 MB / 0.5898 GB, free: 1.066 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004668/0.3238, allocations: 219.4 kB / 0.59 GB, free: 0.832 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/0.3241, allocations: 43.92 kB / 0.59 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001563/0.3257, allocations: 139.7 kB / 0.5902 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003138/0.326, allocations: 116.7 kB / 0.5903 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.3261, allocations: 51.97 kB / 0.5903 GB, free: 500 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.2255/0.5516, allocations: 0.6939 MB / 0.591 GB, free: 94.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5516, allocations: 0 / 0.591 GB, free: 94.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002438/0.5541, allocations: 0.5797 MB / 0.5916 GB, free: 94.48 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],tank.level) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(7,10,61.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (5,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008284/0.5624, allocations: 4.967 MB / 0.5964 GB, free: 93.21 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005936/0.5683, allocations: 2.67 MB / 0.599 GB, free: 92.95 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/0.5683, allocations: 4.938 kB / 0.599 GB, free: 92.95 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003657/0.572, allocations: 1.4 MB / 0.6004 GB, free: 92.77 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002897/0.5749, allocations: 388.9 kB / 0.6008 GB, free: 92.76 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02722/0.6021, allocations: 19.43 MB / 0.6198 GB, free: 82.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008044/0.603, allocations: 1.407 MB / 0.6211 GB, free: 82.04 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001498/0.6045, allocations: 459.1 kB / 0.6216 GB, free: 81.95 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006889/0.6052, allocations: 0.6459 MB / 0.6222 GB, free: 81.46 MB / 462.1 MB Notification: Performance of SimCode: time 1.363e-06/0.6052, allocations: 0 / 0.6222 GB, free: 81.46 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5254/1.131, allocations: 40.79 MB / 0.662 GB, free: 41.88 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/1.131, allocations: 254.5 kB / 0.6623 GB, free: 41.62 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.06/4.191, allocations: 0 / 0.6623 GB, free: 41.62 MB / 462.1 MB (rm -f ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe ; mkfifo ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe ; head -c 1048576 < ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe >> ../files/ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 ThermalSeparation_ThermalSeparation_Examples_Testing_Pump_PumpSystem.fmu > ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem.pipe 2>&1)