Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.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.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8192/0.8192, allocations: 150.9 MB / 166 MB, free: 14.67 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003208, allocations: 19.97 kB / 204 MB, free: 10.13 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1387, allocations: 31.33 MB / 235.4 MB, free: 5.449 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.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution): time 1.544/1.683, allocations: 292.4 MB / 0.5153 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01581/1.699, allocations: 13.57 MB / 0.5286 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/1.699, allocations: 3.938 kB / 0.5286 GB, free: 0.5352 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSolution/PressureLosses/SingularPressureLoss.mo:15:3-17:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSolution/PressureLosses/SingularPressureLoss.mo:18:3-19:83:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSolution/Machines/StaticCentrifugalPump.mo:46:3-48:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSolution/Machines/StaticCentrifugalPump.mo:49:3-50:83:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSolution/BoundaryConditions/SourcePQ.mo:9:3-10:83:writable] Warning: Connector Cs is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSolution/BoundaryConditions/Sink.mo:10:3-12:16:writable] Warning: Connector Ce is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0001239/1.699, allocations: 22.08 kB / 0.5286 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/1.7, allocations: 52.42 kB / 0.5287 GB, free: 476 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006119/1.706, allocations: 2.556 MB / 0.5312 GB, free: 13.92 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003338/1.706, allocations: 255.2 kB / 0.5314 GB, free: 13.67 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002517/1.706, allocations: 148.6 kB / 0.5315 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/1.706, allocations: 96.14 kB / 0.5316 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/1.707, allocations: 117.6 kB / 0.5317 GB, free: 13.33 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/1.707, allocations: 20 kB / 0.5318 GB, free: 13.31 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01076/1.717, allocations: 7.513 MB / 0.5391 GB, free: 5.805 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.075e-05/1.717, allocations: 43.78 kB / 0.5391 GB, free: 5.762 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001541/1.718, allocations: 119.3 kB / 0.5393 GB, free: 5.645 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005632/1.723, allocations: 3.395 MB / 0.5426 GB, free: 2.242 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.723, allocations: 0 / 0.5426 GB, free: 2.242 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/1.723, allocations: 0 / 0.5426 GB, free: 2.242 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/1.723, allocations: 4 kB / 0.5426 GB, free: 2.238 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001844/1.725, allocations: 0.8084 MB / 0.5434 GB, free: 1.379 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/1.725, allocations: 8.031 kB / 0.5434 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.682e-05/1.725, allocations: 32.56 kB / 0.5434 GB, free: 1.34 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/1.726, allocations: 241.1 kB / 0.5436 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/1.726, allocations: 16.94 kB / 0.5437 GB, free: 1.051 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/1.726, allocations: 25.44 kB / 0.5437 GB, free: 1.027 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004941/1.726, allocations: 287.1 kB / 0.5439 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/1.726, allocations: 0 / 0.5439 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/1.726, allocations: 19.92 kB / 0.544 GB, free: 0.707 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/1.726, allocations: 8.875 kB / 0.544 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004496/1.727, allocations: 178.2 kB / 0.5441 GB, free: 0.5273 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.005495/1.732, allocations: 3.012 MB / 0.5471 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005137/1.733, allocations: 186.7 kB / 0.5473 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/1.733, allocations: 77.7 kB / 0.5473 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003956/1.737, allocations: 1.678 MB / 0.549 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002714/1.737, allocations: 146.2 kB / 0.5491 GB, free: 11.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/1.737, allocations: 4 kB / 0.5491 GB, free: 11.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006526/1.738, allocations: 275.5 kB / 0.5494 GB, free: 10.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/1.738, allocations: 102.8 kB / 0.5495 GB, free: 10.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/1.738, allocations: 266.5 kB / 0.5497 GB, free: 10.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/1.738, allocations: 29.7 kB / 0.5498 GB, free: 10.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/1.738, allocations: 160.2 kB / 0.5499 GB, free: 10.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/1.738, allocations: 51.27 kB / 0.55 GB, free: 10.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.159e-05/1.738, allocations: 61.69 kB / 0.55 GB, free: 10.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.843e-05/1.738, allocations: 334.8 kB / 0.5503 GB, free: 9.754 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/1.739, allocations: 56.2 kB / 0.5504 GB, free: 9.695 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/1.739, allocations: 129.2 kB / 0.5505 GB, free: 9.547 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00267/1.742, allocations: 0.631 MB / 0.5511 GB, free: 8.871 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.742, allocations: 0 / 0.5511 GB, free: 8.871 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000529/1.742, allocations: 282.8 kB / 0.5514 GB, free: 8.582 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/1.742, allocations: 34.95 kB / 0.5514 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/1.742, allocations: 0 / 0.5514 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/1.742, allocations: 4.703 kB / 0.5514 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/1.744, allocations: 219.9 kB / 0.5517 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002843/1.744, allocations: 0.5898 MB / 0.5522 GB, free: 7.711 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/1.744, allocations: 43.77 kB / 0.5523 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/1.744, allocations: 11.94 kB / 0.5523 GB, free: 7.656 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: pulse.T0:DISCRETE(fixed = true protected = true ) type: Real Pulse1.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.pulse.T0,$PRE.Pulse1.T0,pulse.T0,Pulse1.yL.signal,Pulse1.T0,$whenCondition2,sinkSolution.Ce.a,sourceSolution.Cs.b,staticCentrifugalPumpWaterLiBr.C2.b,staticCentrifugalPumpWaterLiBr.C1.a,singularPressureLossWaterLiBr.C2.b,singularPressureLossWaterLiBr.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001794/1.744, allocations: 174.1 kB / 0.5525 GB, free: 7.473 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/1.744, allocations: 23.72 kB / 0.5525 GB, free: 7.449 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005253/1.745, allocations: 249.3 kB / 0.5527 GB, free: 7.191 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/1.745, allocations: 4 kB / 0.5527 GB, free: 7.188 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.745, allocations: 3.938 kB / 0.5527 GB, free: 7.184 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/1.745, allocations: 3.984 kB / 0.5527 GB, free: 7.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/1.745, allocations: 293.4 kB / 0.553 GB, free: 6.844 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.745, allocations: 0 / 0.553 GB, free: 6.844 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001492/1.747, allocations: 195.8 kB / 0.5532 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/1.747, allocations: 0 / 0.5532 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/1.747, allocations: 4 kB / 0.5532 GB, free: 6.648 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002513/1.747, allocations: 0.5975 MB / 0.5538 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.747, allocations: 0 / 0.5538 GB, free: 6.027 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004601/1.748, allocations: 248.2 kB / 0.554 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-05/1.748, allocations: 116.8 kB / 0.5541 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/1.748, allocations: 7.984 kB / 0.5541 GB, free: 5.621 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/1.748, allocations: 20.08 kB / 0.5542 GB, free: 5.602 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/1.748, allocations: 11.98 kB / 0.5542 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/1.748, allocations: 4 kB / 0.5542 GB, free: 5.586 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001616/1.748, allocations: 193.9 kB / 0.5544 GB, free: 5.395 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/1.748, allocations: 0 / 0.5544 GB, free: 5.395 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009592/1.749, allocations: 403.7 kB / 0.5547 GB, free: 5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,Pulse1.T0,Pulse1.yL.signal,pulse.T0) * Number of discrete states: 3 (Pulse1.yL.signal,Pulse1.T0,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001469/1.751, allocations: 0.5042 MB / 0.5552 GB, free: 4.488 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01102/1.762, allocations: 0.8902 MB / 0.5561 GB, free: 3.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.762, allocations: 3.938 kB / 0.5561 GB, free: 3.586 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008917/1.771, allocations: 0.6519 MB / 0.5567 GB, free: 2.922 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/1.771, allocations: 38.55 kB / 0.5568 GB, free: 2.887 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009043/1.772, allocations: 0.5226 MB / 0.5573 GB, free: 2.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/1.772, allocations: 0.7443 MB / 0.558 GB, free: 1.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001081/1.772, allocations: 23.5 kB / 0.558 GB, free: 1.547 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.596e-05/1.772, allocations: 23.42 kB / 0.5581 GB, free: 1.523 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/1.772, allocations: 0 / 0.5581 GB, free: 1.523 MB / 446.1 MB Notification: Performance of Templates: time 0.01721/1.789, allocations: 12.76 MB / 0.5705 GB, free: 4.812 MB / 462.1 MB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe 2>&1)