Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8217/0.8217, allocations: 150.9 MB / 166 MB, free: 14.65 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000281/0.000281, allocations: 19.97 kB / 204.1 MB, free: 10.11 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1693, allocations: 31.33 MB / 235.4 MB, free: 5.457 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4): time 1.597/1.767, allocations: 293.1 MB / 0.5161 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2026/1.969, allocations: 188.9 MB / 0.7005 GB, free: 148 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004687/1.97, allocations: 11.88 kB / 0.7005 GB, free: 136 kB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:120:3-121:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:122:3-123:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:124:3-128:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/ElectroMechanics/BoundaryConditions/SourceTorque.mo:5:3-9:24:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.3159/2.286, allocations: 33.58 kB / 0.7005 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007731/2.286, allocations: 142.6 kB / 0.7007 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02483/2.311, allocations: 8.799 MB / 0.7093 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009035/2.312, allocations: 0.5819 MB / 0.7098 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003681/2.313, allocations: 314.7 kB / 0.7101 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003052/2.313, allocations: 245 kB / 0.7104 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/2.313, allocations: 286.4 kB / 0.7107 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.634e-05/2.313, allocations: 33.59 kB / 0.7107 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02965/2.343, allocations: 16.76 MB / 0.7271 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003246/2.343, allocations: 215.5 kB / 0.7273 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000464/2.344, allocations: 366.5 kB / 0.7276 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02323/2.367, allocations: 9.088 MB / 0.7365 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/2.367, allocations: 0 / 0.7365 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.784e-06/2.367, allocations: 2.688 kB / 0.7365 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.266e-05/2.367, allocations: 0 / 0.7365 GB, free: 1.891 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.005954/2.373, allocations: 2.172 MB / 0.7386 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/2.373, allocations: 10.03 kB / 0.7386 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/2.373, allocations: 116.1 kB / 0.7387 GB, free: 448 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004512/2.374, allocations: 494.2 kB / 0.7392 GB, free: 68 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.349e-05/2.374, allocations: 36.28 kB / 0.7392 GB, free: 68 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.507e-05/2.374, allocations: 50.84 kB / 0.7393 GB, free: 68 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000997/2.375, allocations: 0.598 MB / 0.7399 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/2.375, allocations: 2.906 kB / 0.7399 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.387e-05/2.375, allocations: 22.09 kB / 0.7399 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/2.375, allocations: 13.69 kB / 0.7399 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/2.376, allocations: 0.5886 MB / 0.7405 GB, free: 15.77 MB / 0.5919 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.002634/2.379, allocations: 2.338 MB / 0.7428 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/2.38, allocations: 0.6492 MB / 0.7434 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003637/2.381, allocations: 210.6 kB / 0.7436 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2843/2.665, allocations: 140.8 MB / 0.8811 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/2.665, allocations: 33.81 kB / 0.8812 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 2.544e-06/2.665, allocations: 0 / 0.8812 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.003096/2.668, allocations: 1.075 MB / 0.8822 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/2.668, allocations: 59.41 kB / 0.8823 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009985/2.669, allocations: 0.9017 MB / 0.8832 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/2.669, allocations: 28.83 kB / 0.8832 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/2.669, allocations: 482.9 kB / 0.8837 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.275e-05/2.67, allocations: 107.5 kB / 0.8838 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/2.67, allocations: 93.39 kB / 0.8838 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001088/2.67, allocations: 321 kB / 0.8841 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/2.67, allocations: 229.1 kB / 0.8844 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005121/2.671, allocations: 340.8 kB / 0.8847 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008848/2.672, allocations: 0.5478 MB / 0.8852 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.493e-06/2.672, allocations: 4 kB / 0.8852 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001594/2.673, allocations: 0.8664 MB / 0.8861 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/2.673, allocations: 9.094 kB / 0.8861 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/2.673, allocations: 4 kB / 0.8861 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004652/2.678, allocations: 0.7868 MB / 0.8869 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/2.678, allocations: 69.77 kB / 0.8869 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/2.68, allocations: 1.238 MB / 0.8881 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005238/2.68, allocations: 70.41 kB / 0.8882 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/2.68, allocations: 23.61 kB / 0.8882 GB, free: 8.258 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,centrifugalPump.fluid,sinkP.fluid,sourceP.fluid1,sourceP.C.diff_on_2,centrifugalPump.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003499/2.681, allocations: 265.5 kB / 0.8885 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/2.681, allocations: 86.88 kB / 0.8886 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/2.682, allocations: 0.6973 MB / 0.8892 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/2.682, allocations: 5.094 kB / 0.8892 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-05/2.682, allocations: 0 / 0.8892 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/2.682, allocations: 0 / 0.8892 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007496/2.683, allocations: 0.6695 MB / 0.8899 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/2.683, allocations: 0 / 0.8899 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/2.683, allocations: 54.25 kB / 0.89 GB, free: 6.793 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002743/2.686, allocations: 451.1 kB / 0.8904 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/2.686, allocations: 11.23 kB / 0.8904 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009224/2.687, allocations: 0.726 MB / 0.8911 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/2.687, allocations: 4 kB / 0.8911 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/2.689, allocations: 1 MB / 0.8921 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/2.689, allocations: 185.8 kB / 0.8923 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.788e-05/2.689, allocations: 7.75 kB / 0.8923 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/2.689, allocations: 28.05 kB / 0.8923 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/2.689, allocations: 18.88 kB / 0.8923 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/2.689, allocations: 11.25 kB / 0.8923 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006605/2.69, allocations: 0.6212 MB / 0.8929 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/2.69, allocations: 0 / 0.8929 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003725/2.694, allocations: 1.348 MB / 0.8942 GB, free: 2.895 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (centrifugalPump.w) * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005786/2.7, allocations: 2.009 MB / 0.8962 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001328/2.701, allocations: 0.5409 MB / 0.8967 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/2.701, allocations: 4.062 kB / 0.8967 GB, free: 0.7617 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007588/2.702, allocations: 290.3 kB / 0.897 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006619/2.702, allocations: 94.55 kB / 0.8971 GB, free: 484 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/2.705, allocations: 1.857 MB / 0.8989 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005621/2.706, allocations: 1.002 MB / 0.8999 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000249/2.706, allocations: 60.06 kB / 0.9 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.802e-05/2.706, allocations: 35.42 kB / 0.9 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of SimCode: time 4.71e-07/2.706, allocations: 0 / 0.9 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of Templates: time 0.05988/2.766, allocations: 44.97 MB / 0.9439 GB, free: 0.8398 MB / 0.7794 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe 2>&1)