Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.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.SimpleExamples.TestCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8373/0.8373, allocations: 150.9 MB / 166 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003657, allocations: 15.97 kB / 204 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2489, allocations: 31.32 MB / 235.4 MB, free: 5.453 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.SimpleExamples.TestCentrifugalPump1): time 1.92/2.169, allocations: 294.5 MB / 0.5174 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.7374/2.906, allocations: 189.3 MB / 0.7023 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/2.908, allocations: 16.03 kB / 0.7023 GB, free: 3.738 MB / 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/SourceAngularVelocity.mo:11:3-15:24: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/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/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). Notification: Performance of NFTyping.typeComponents: time 0.000446/2.908, allocations: 76.52 kB / 0.7024 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00117/2.909, allocations: 287.5 kB / 0.7026 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03946/2.949, allocations: 8.997 MB / 0.7114 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002251/2.951, allocations: 1.096 MB / 0.7125 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008605/2.952, allocations: 0.5571 MB / 0.713 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008462/2.953, allocations: 467 kB / 0.7135 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007117/2.953, allocations: 0.5089 MB / 0.714 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001343/2.954, allocations: 61.78 kB / 0.714 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03996/2.994, allocations: 16.76 MB / 0.7304 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007622/2.994, allocations: 427.2 kB / 0.7308 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001257/2.996, allocations: 0.6863 MB / 0.7315 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.04189/3.038, allocations: 9.782 MB / 0.741 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.247e-05/3.038, allocations: 0 / 0.741 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.789e-06/3.038, allocations: 0.6562 kB / 0.741 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001898/3.038, allocations: 0 / 0.741 GB, free: 1.031 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.01187/3.05, allocations: 2.975 MB / 0.7439 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/3.05, allocations: 8.344 kB / 0.7439 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004016/3.05, allocations: 212.6 kB / 0.7442 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/3.051, allocations: 0.8154 MB / 0.7449 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/3.051, allocations: 69.81 kB / 0.745 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/3.052, allocations: 90.47 kB / 0.7451 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002427/3.054, allocations: 1.323 MB / 0.7464 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/3.054, allocations: 6.906 kB / 0.7464 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.374e-05/3.054, allocations: 46 kB / 0.7464 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.924e-05/3.054, allocations: 23.72 kB / 0.7465 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/3.056, allocations: 1.372 MB / 0.7478 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1415/3.198, allocations: 66.47 MB / 0.8127 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002463/3.201, allocations: 1.625 MB / 0.8143 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007484/3.201, allocations: 0.5061 MB / 0.8148 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2174/3.419, allocations: 110.6 MB / 0.9228 GB, free: 5.258 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.093e-05/3.419, allocations: 38.12 kB / 0.9228 GB, free: 5.219 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=53): time 3.487e-06/3.419, allocations: 0 / 0.9228 GB, free: 5.219 MB / 0.7637 GB Notification: Performance of matching and sorting (n=53): time 0.007851/3.427, allocations: 2.793 MB / 0.9255 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/3.427, allocations: 89.73 kB / 0.9256 GB, free: 2.641 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003318/3.43, allocations: 1.713 MB / 0.9273 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 6.205e-05/3.43, allocations: 32.7 kB / 0.9273 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008127/3.431, allocations: 0.8681 MB / 0.9282 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/3.431, allocations: 190.1 kB / 0.9284 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002934/3.432, allocations: 155 kB / 0.9285 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001298/3.432, allocations: 339.5 kB / 0.9288 GB, free: 248 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008348/3.432, allocations: 0.511 MB / 0.9293 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009809/3.433, allocations: 0.7548 MB / 0.9301 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/3.435, allocations: 1.292 MB / 0.9313 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/3.435, allocations: 0 / 0.9313 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00347/3.439, allocations: 1.821 MB / 0.9331 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/3.439, allocations: 9.656 kB / 0.9331 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/3.439, allocations: 12 kB / 0.9331 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008527/3.447, allocations: 1.44 MB / 0.9345 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005848/3.448, allocations: 136.8 kB / 0.9347 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002713/3.451, allocations: 2.337 MB / 0.9369 GB, free: 8.453 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/3.452, allocations: 126.7 kB / 0.9371 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/3.452, allocations: 35.98 kB / 0.9371 GB, free: 8.293 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 12 (sourcePQ1.C.ftype,centrifugalPump1.fluid,sink1.fluid,sourcePQ1.fluid1,sourcePQ.C.ftype,centrifugalPump.fluid,sink.fluid,sourcePQ.fluid1,sourcePQ1.C.diff_on_2,centrifugalPump1.C2.diff_on_1,sourcePQ.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 (69): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,13), (2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0009364/3.453, allocations: 421.4 kB / 0.9375 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004377/3.453, allocations: 173.8 kB / 0.9377 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002967/3.456, allocations: 1.68 MB / 0.9393 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/3.456, allocations: 4 kB / 0.9393 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/3.456, allocations: 0 / 0.9393 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/3.456, allocations: 0 / 0.9393 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004716/3.461, allocations: 2.952 MB / 0.9422 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/3.461, allocations: 0 / 0.9422 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/3.461, allocations: 62.86 kB / 0.9423 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005624/3.467, allocations: 1.153 MB / 0.9434 GB, free: 1.797 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.877e-05/3.467, allocations: 15.98 kB / 0.9434 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002561/3.47, allocations: 2.354 MB / 0.9457 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/3.47, allocations: 0 / 0.9457 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002778/3.472, allocations: 1.753 MB / 0.9474 GB, free: 13.61 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000596/3.473, allocations: 270.7 kB / 0.9477 GB, free: 13.33 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002337/3.473, allocations: 12 kB / 0.9477 GB, free: 13.32 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006091/3.474, allocations: 38.91 kB / 0.9477 GB, free: 13.28 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/3.474, allocations: 35.95 kB / 0.9477 GB, free: 13.25 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.864e-05/3.474, allocations: 19.98 kB / 0.9478 GB, free: 13.23 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001924/3.476, allocations: 1.147 MB / 0.9489 GB, free: 12.06 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.41e-07/3.476, allocations: 0 / 0.9489 GB, free: 12.06 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00619/3.482, allocations: 1.444 MB / 0.9503 GB, free: 10.61 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,15), (2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01021/3.492, allocations: 2.001 MB / 0.9522 GB, free: 8.855 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002726/3.495, allocations: 1.228 MB / 0.9534 GB, free: 7.656 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/3.495, allocations: 0 / 0.9534 GB, free: 7.656 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001181/3.496, allocations: 0.6087 MB / 0.954 GB, free: 7.055 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/3.498, allocations: 175.8 kB / 0.9542 GB, free: 6.883 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006069/3.504, allocations: 3.565 MB / 0.9577 GB, free: 3.289 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/3.505, allocations: 1.319 MB / 0.959 GB, free: 1.945 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004575/3.506, allocations: 97.89 kB / 0.9591 GB, free: 1.848 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/3.506, allocations: 51.44 kB / 0.9591 GB, free: 1.797 MB / 0.795 GB Notification: Performance of SimCode: time 4.91e-07/3.506, allocations: 0 / 0.9591 GB, free: 1.797 MB / 0.795 GB Notification: Performance of Templates: time 0.3233/3.829, allocations: 49.58 MB / 1.008 GB, free: 448.2 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestCentrifugalPump1.pipe 2>&1)