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.0007312/0.0007313, allocations: 93.17 kB / 15.7 MB, free: 472 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.0008137/0.0008136, allocations: 173.3 kB / 16.58 MB, free: 6.395 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.318/1.318, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermalSeparation 0.2.0-master/package.mo): time 0.4539/0.4539, allocations: 64.91 MB / 356.6 MB, free: 5.059 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003351, allocations: 9.625 kB / 432.1 MB, free: 39.89 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1305, allocations: 64.87 MB / 496.9 MB, free: 8 kB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermalSeparation.Examples.Testing.Pump.PumpSystem): time 0.007971/0.1385, allocations: 6.592 MB / 0.4917 GB, free: 9.395 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005839/0.1444, allocations: 4.138 MB / 0.4958 GB, free: 5.242 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006023/0.145, allocations: 8 kB / 0.4958 GB, free: 5.234 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009482/0.146, allocations: 409.6 kB / 0.4962 GB, free: 4.832 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001287/0.1473, allocations: 0.6524 MB / 0.4968 GB, free: 4.176 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008153/0.1481, allocations: 335.4 kB / 0.4971 GB, free: 3.848 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002422/0.1505, allocations: 2.758 MB / 0.4998 GB, free: 1.082 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006838/0.1512, allocations: 0.5963 MB / 0.5004 GB, free: 480 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007764/0.152, allocations: 0.7243 MB / 0.5011 GB, free: 15.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.1532, allocations: 1.024 MB / 0.5021 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.1534, allocations: 80 kB / 0.5022 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.1536, allocations: 80 kB / 0.5022 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005532/0.1541, allocations: 0.6895 MB / 0.5029 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003416/0.1545, allocations: 404.8 kB / 0.5033 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.1563, allocations: 2.4 MB / 0.5056 GB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1563, allocations: 0 / 0.5056 GB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1563, allocations: 0 / 0.5056 GB, free: 11.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.269e-05/0.1564, allocations: 0 / 0.5056 GB, free: 11.06 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.00341/0.1598, allocations: 1.846 MB / 0.5074 GB, free: 9.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.1598, allocations: 8.031 kB / 0.5075 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003431/0.1602, allocations: 295.9 kB / 0.5077 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002987/0.1605, allocations: 189.8 kB / 0.5079 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009597/0.1614, allocations: 0.7386 MB / 0.5086 GB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-05/0.1615, allocations: 148 kB / 0.5088 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006111/0.1622, allocations: 275.8 kB / 0.509 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00369/0.1659, allocations: 2.719 MB / 0.5117 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.619e-05/0.1659, allocations: 3.938 kB / 0.5117 GB, free: 4.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001724/0.1661, allocations: 91.98 kB / 0.5118 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001568/0.1662, allocations: 151.4 kB / 0.5119 GB, free: 4.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003381/0.1696, allocations: 2.172 MB / 0.5141 GB, free: 2.137 MB / 382.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.01124/0.1809, allocations: 10.81 MB / 0.5246 GB, free: 6.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002675/0.1836, allocations: 2.788 MB / 0.5273 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/0.1846, allocations: 0.6528 MB / 0.528 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.1847, allocations: 21.06 kB / 0.528 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.1848, allocations: 51.5 kB / 0.528 GB, free: 2.809 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 3.797e-06/0.1848, allocations: 7.938 kB / 0.5281 GB, free: 2.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=140): time 0.01928/0.2041, allocations: 7.642 MB / 0.5355 GB, free: 11.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005294/0.2094, allocations: 3.896 MB / 0.5393 GB, free: 6.789 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001676/0.2111, allocations: 1.082 MB / 0.5404 GB, free: 5.684 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002631/0.2114, allocations: 45.7 kB / 0.5404 GB, free: 5.633 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006351/0.212, allocations: 0.9356 MB / 0.5413 GB, free: 4.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005635/0.2126, allocations: 0.4931 MB / 0.5418 GB, free: 4.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.2127, allocations: 48 kB / 0.5419 GB, free: 4.133 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003639/0.2131, allocations: 443.5 kB / 0.5423 GB, free: 3.691 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/0.2147, allocations: 0.9143 MB / 0.5432 GB, free: 2.773 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002923/0.2177, allocations: 1.871 MB / 0.545 GB, free: 456 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002074/0.2198, allocations: 1.248 MB / 0.5462 GB, free: 15.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.667e-05/0.2198, allocations: 12 kB / 0.5462 GB, free: 15.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.008736/0.2285, allocations: 3.696 MB / 0.5498 GB, free: 11.47 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/0.2286, allocations: 20 kB / 0.5499 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.692e-05/0.2287, allocations: 32 kB / 0.5499 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004377/0.233, allocations: 1.009 MB / 0.5509 GB, free: 10.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002568/0.2356, allocations: 0.5616 MB / 0.5514 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.2462, allocations: 6.315 MB / 0.5576 GB, free: 3.332 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002428/0.2487, allocations: 231.5 kB / 0.5578 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002184/0.2489, allocations: 128 kB / 0.5579 GB, free: 2.98 MB / 430.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 (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: 1 {(8,67.2%) 15} * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001025/0.2499, allocations: 0.5608 MB / 0.5585 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002886/0.2502, allocations: 126.5 kB / 0.5586 GB, free: 2.285 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007299/0.2575, allocations: 2.879 MB / 0.5614 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006346/0.2639, allocations: 2.5 MB / 0.5639 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.2639, allocations: 4 kB / 0.5639 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.249e-05/0.264, allocations: 15.95 kB / 0.5639 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/0.2769, allocations: 6.078 MB / 0.5698 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.277, allocations: 4 kB / 0.5698 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/0.2786, allocations: 296.1 kB / 0.5701 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005114/0.2838, allocations: 1.222 MB / 0.5713 GB, free: 5.051 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/0.2839, allocations: 39.98 kB / 0.5713 GB, free: 5.012 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2663/0.5502, allocations: 6.013 MB / 0.5772 GB, free: 79.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004086/0.5543, allocations: 3.78 MB / 0.5809 GB, free: 76.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008565/0.5629, allocations: 4.349 MB / 0.5851 GB, free: 75.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004804/0.5634, allocations: 213 kB / 0.5853 GB, free: 75.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.5636, allocations: 35.61 kB / 0.5854 GB, free: 75.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/0.565, allocations: 139.6 kB / 0.5855 GB, free: 75.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003154/0.5653, allocations: 120.9 kB / 0.5856 GB, free: 75.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.5654, allocations: 50.38 kB / 0.5857 GB, free: 75.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001101/0.5665, allocations: 0.6921 MB / 0.5864 GB, free: 75.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.974e-06/0.5665, allocations: 0 / 0.5864 GB, free: 75.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002475/0.569, allocations: 0.5846 MB / 0.5869 GB, free: 75.73 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,61.2%) 10} * Non-linear torn systems: 3 {1 3,5 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.009041/0.5781, allocations: 4.94 MB / 0.5918 GB, free: 74.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005404/0.5835, allocations: 2.627 MB / 0.5943 GB, free: 74.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.5835, allocations: 1 kB / 0.5943 GB, free: 74.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003303/0.5868, allocations: 1.402 MB / 0.5957 GB, free: 73.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/0.589, allocations: 389.6 kB / 0.5961 GB, free: 73.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/0.606, allocations: 11.93 MB / 0.6077 GB, free: 66.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008068/0.6069, allocations: 1.414 MB / 0.6091 GB, free: 65.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001535/0.6084, allocations: 453.1 kB / 0.6095 GB, free: 64.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007399/0.6092, allocations: 0.6476 MB / 0.6102 GB, free: 64.32 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.6092, allocations: 0 / 0.6102 GB, free: 64.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05252/0.6617, allocations: 40.06 MB / 0.6493 GB, free: 24.6 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/0.6619, allocations: 231.7 kB / 0.6495 GB, free: 24.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.663/3.325, allocations: 3.938 kB / 0.6495 GB, free: 24.34 MB / 446.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/linux/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) Environment - environmentSimulation: