Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.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.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8645/0.8645, allocations: 150.8 MB / 166.6 MB, free: 11.16 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002696/0.0002696, allocations: 15.97 kB / 204.7 MB, free: 6.16 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1402, allocations: 31.33 MB / 236 MB, free: 3.887 MB / 186.7 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.TestStaticCentrifugalPump1): time 1.575/1.715, allocations: 292.1 MB / 0.5157 GB, free: 9.969 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.04647/1.762, allocations: 37.55 MB / 0.5524 GB, free: 4.543 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000208/1.762, allocations: 0 / 0.5524 GB, free: 4.543 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:60:3-62:42: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/WaterSteam/Machines/StaticCentrifugalPump.mo:63:3-65:37: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/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C 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/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C 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.0004216/1.762, allocations: 85.38 kB / 0.5525 GB, free: 4.461 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002777/1.763, allocations: 95.28 kB / 0.5525 GB, free: 4.367 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02087/1.784, allocations: 7.171 MB / 0.5596 GB, free: 13.2 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005383/1.784, allocations: 390.2 kB / 0.5599 GB, free: 12.82 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002387/1.784, allocations: 124.4 kB / 0.56 GB, free: 12.7 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002593/1.785, allocations: 147.3 kB / 0.5602 GB, free: 12.55 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/1.785, allocations: 127.3 kB / 0.5603 GB, free: 12.43 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/1.785, allocations: 16 kB / 0.5603 GB, free: 12.41 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02928/1.814, allocations: 17.73 MB / 0.5776 GB, free: 10.66 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 8.621e-05/1.814, allocations: 47.78 kB / 0.5777 GB, free: 10.62 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002014/1.815, allocations: 151.1 kB / 0.5778 GB, free: 10.47 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01717/1.832, allocations: 8.464 MB / 0.5861 GB, free: 1.984 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.336e-05/1.832, allocations: 0 / 0.5861 GB, free: 1.984 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.783e-06/1.832, allocations: 0 / 0.5861 GB, free: 1.984 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.529e-05/1.832, allocations: 0 / 0.5861 GB, free: 1.984 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.003638/1.835, allocations: 1.489 MB / 0.5875 GB, free: 456 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/1.835, allocations: 12.03 kB / 0.5876 GB, free: 444 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.946e-05/1.836, allocations: 35.56 kB / 0.5876 GB, free: 408 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/1.836, allocations: 247.4 kB / 0.5878 GB, free: 120 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/1.836, allocations: 16.56 kB / 0.5878 GB, free: 104 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/1.836, allocations: 20 kB / 0.5879 GB, free: 84 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005081/1.836, allocations: 340.2 kB / 0.5882 GB, free: 15.72 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.836, allocations: 0 / 0.5882 GB, free: 15.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/1.836, allocations: 8 kB / 0.5882 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/1.836, allocations: 15.98 kB / 0.5882 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003735/1.837, allocations: 217.2 kB / 0.5884 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03754/1.874, allocations: 18.01 MB / 0.606 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004596/1.875, allocations: 210.4 kB / 0.6062 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/1.875, allocations: 120.8 kB / 0.6063 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1554/2.03, allocations: 77.28 MB / 0.6818 GB, free: 5.227 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/2.031, allocations: 30.56 kB / 0.6818 GB, free: 5.188 MB / 0.573 GB Notification: Performance of pre-optimization done (n=41): time 3.537e-06/2.031, allocations: 0 / 0.6818 GB, free: 5.188 MB / 0.573 GB Notification: Performance of matching and sorting (n=41): time 0.004113/2.035, allocations: 0.9445 MB / 0.6827 GB, free: 4.215 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/2.035, allocations: 51.41 kB / 0.6828 GB, free: 4.152 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/2.035, allocations: 250.6 kB / 0.683 GB, free: 3.902 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/2.035, allocations: 33.7 kB / 0.6831 GB, free: 3.863 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 9.541e-05/2.035, allocations: 156.5 kB / 0.6832 GB, free: 3.707 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 8.937e-05/2.035, allocations: 133.9 kB / 0.6833 GB, free: 3.574 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.93e-05/2.035, allocations: 61.59 kB / 0.6834 GB, free: 3.508 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001141/2.035, allocations: 342.8 kB / 0.6837 GB, free: 3.164 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/2.036, allocations: 100.4 kB / 0.6838 GB, free: 3.066 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/2.036, allocations: 148.2 kB / 0.684 GB, free: 2.91 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004129/2.036, allocations: 270 kB / 0.6842 GB, free: 2.629 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/2.036, allocations: 0 / 0.6842 GB, free: 2.629 MB / 0.573 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002341/2.039, allocations: 0.6059 MB / 0.6848 GB, free: 2.016 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/2.039, allocations: 8 kB / 0.6848 GB, free: 2.008 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/2.039, allocations: 3.938 kB / 0.6848 GB, free: 2.004 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008151/2.04, allocations: 221.5 kB / 0.685 GB, free: 1.785 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.68e-05/2.04, allocations: 19.98 kB / 0.685 GB, free: 1.766 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008243/2.04, allocations: 0.741 MB / 0.6858 GB, free: 1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/2.041, allocations: 27.69 kB / 0.6858 GB, free: 0.9727 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/2.041, allocations: 8 kB / 0.6858 GB, free: 0.9648 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (sinkP.C.a,sourceP.C.b,StaticCentrifugalPump1.C2.b,StaticCentrifugalPump1.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(4,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001392/2.041, allocations: 145.8 kB / 0.6859 GB, free: 0.8125 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.755e-05/2.041, allocations: 31.61 kB / 0.686 GB, free: 0.7812 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1701/2.211, allocations: 0.7941 MB / 0.6867 GB, free: 222.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005655/2.212, allocations: 288.9 kB / 0.687 GB, free: 222.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/2.212, allocations: 5.109 kB / 0.687 GB, free: 222.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/2.212, allocations: 0.8125 kB / 0.687 GB, free: 222.8 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/2.213, allocations: 0.8681 MB / 0.6879 GB, free: 222.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/2.213, allocations: 3.75 kB / 0.6879 GB, free: 222.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.103e-05/2.213, allocations: 20.16 kB / 0.6879 GB, free: 222.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007478/2.214, allocations: 234.4 kB / 0.6881 GB, free: 222.5 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/2.214, allocations: 4.906 kB / 0.6881 GB, free: 222.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007315/2.215, allocations: 0.7529 MB / 0.6889 GB, free: 222 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/2.215, allocations: 2.938 kB / 0.6889 GB, free: 222 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/2.216, allocations: 1.172 MB / 0.69 GB, free: 221.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/2.216, allocations: 116.5 kB / 0.6901 GB, free: 221.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.992e-05/2.216, allocations: 15.17 kB / 0.6901 GB, free: 221.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/2.216, allocations: 10.58 kB / 0.6901 GB, free: 221.2 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/2.216, allocations: 11.64 kB / 0.6902 GB, free: 221.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/2.216, allocations: 7.359 kB / 0.6902 GB, free: 221.2 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002656/2.216, allocations: 255 kB / 0.6904 GB, free: 221.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 1e-07/2.216, allocations: 0 / 0.6904 GB, free: 221.1 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003201/2.22, allocations: 1.233 MB / 0.6916 GB, free: 221.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 12 * 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 {(4,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006066/2.226, allocations: 1.793 MB / 0.6934 GB, free: 220.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.000823/2.227, allocations: 325.8 kB / 0.6937 GB, free: 220.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/2.227, allocations: 1 kB / 0.6937 GB, free: 220.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003852/2.227, allocations: 140.9 kB / 0.6938 GB, free: 220.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000889/2.228, allocations: 127.8 kB / 0.6939 GB, free: 220.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/2.229, allocations: 0.9248 MB / 0.6948 GB, free: 220.3 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/2.229, allocations: 0.7877 MB / 0.6956 GB, free: 219.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000128/2.229, allocations: 25.83 kB / 0.6956 GB, free: 219.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/2.23, allocations: 20.53 kB / 0.6956 GB, free: 219.6 MB / 0.573 GB Notification: Performance of SimCode: time 9.52e-07/2.23, allocations: 0 / 0.6956 GB, free: 219.6 MB / 0.573 GB Notification: Performance of Templates: time 0.05112/2.281, allocations: 43.46 MB / 0.7381 GB, free: 196.7 MB / 0.573 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1)