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.7551/0.7551, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003101, allocations: 16.27 kB / 237.8 MB, free: 1.938 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0446/0.04492, allocations: 31.34 MB / 269.1 MB, free: 7.168 MB / 222.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.444/1.489, allocations: 294.4 MB / 0.5503 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01244/1.501, allocations: 12.03 MB / 0.5621 GB, free: 1.344 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.906e-05/1.501, allocations: 7.938 kB / 0.5621 GB, free: 1.336 MB / 446.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.0001042/1.502, allocations: 30.2 kB / 0.5621 GB, free: 1.309 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/1.502, allocations: 67.36 kB / 0.5622 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006066/1.508, allocations: 3.422 MB / 0.5655 GB, free: 13.83 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000275/1.508, allocations: 267.3 kB / 0.5658 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/1.508, allocations: 151.6 kB / 0.5659 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/1.508, allocations: 107.6 kB / 0.566 GB, free: 13.31 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/1.509, allocations: 115.5 kB / 0.5661 GB, free: 13.2 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/1.509, allocations: 24 kB / 0.5661 GB, free: 13.17 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009463/1.518, allocations: 7.658 MB / 0.5736 GB, free: 5.504 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.049e-05/1.518, allocations: 55.77 kB / 0.5737 GB, free: 5.449 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/1.518, allocations: 139.3 kB / 0.5738 GB, free: 5.312 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003304/1.522, allocations: 3.392 MB / 0.5771 GB, free: 1.914 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/1.522, allocations: 0 / 0.5771 GB, free: 1.914 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.322e-06/1.522, allocations: 0 / 0.5771 GB, free: 1.914 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/1.522, allocations: 0 / 0.5771 GB, free: 1.914 MB / 462.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.001462/1.523, allocations: 0.815 MB / 0.5779 GB, free: 1.047 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/1.523, allocations: 11.89 kB / 0.5779 GB, free: 1.035 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.912e-05/1.523, allocations: 40.56 kB / 0.578 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/1.523, allocations: 231.9 kB / 0.5782 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/1.523, allocations: 20.94 kB / 0.5782 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/1.523, allocations: 24.38 kB / 0.5782 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/1.524, allocations: 288 kB / 0.5785 GB, free: 384 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/1.524, allocations: 0 / 0.5785 GB, free: 384 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/1.524, allocations: 19.92 kB / 0.5785 GB, free: 364 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/1.524, allocations: 8 kB / 0.5785 GB, free: 356 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003893/1.524, allocations: 181.5 kB / 0.5787 GB, free: 176 kB / 462.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.005541/1.53, allocations: 3.027 MB / 0.5816 GB, free: 12.92 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004705/1.53, allocations: 182.8 kB / 0.5818 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/1.531, allocations: 68.81 kB / 0.5819 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004318/1.535, allocations: 1.71 MB / 0.5836 GB, free: 10.84 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002594/1.535, allocations: 145 kB / 0.5837 GB, free: 10.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 1.593e-06/1.535, allocations: 3.938 kB / 0.5837 GB, free: 10.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006085/1.536, allocations: 280.2 kB / 0.584 GB, free: 10.39 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/1.536, allocations: 110.8 kB / 0.5841 GB, free: 10.26 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/1.536, allocations: 266.5 kB / 0.5843 GB, free: 9.988 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/1.536, allocations: 29.7 kB / 0.5844 GB, free: 9.953 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.313e-05/1.536, allocations: 156.1 kB / 0.5845 GB, free: 9.797 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/1.536, allocations: 51.3 kB / 0.5846 GB, free: 9.746 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.475e-05/1.536, allocations: 57.59 kB / 0.5846 GB, free: 9.684 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/1.536, allocations: 338.8 kB / 0.5849 GB, free: 9.344 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/1.537, allocations: 60.2 kB / 0.585 GB, free: 9.281 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/1.537, allocations: 127.3 kB / 0.5851 GB, free: 9.133 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002465/1.539, allocations: 0.6206 MB / 0.5857 GB, free: 8.465 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.539, allocations: 0 / 0.5857 GB, free: 8.465 MB / 478.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004856/1.54, allocations: 286.2 kB / 0.586 GB, free: 8.176 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/1.54, allocations: 33.92 kB / 0.586 GB, free: 8.137 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/1.54, allocations: 4 kB / 0.586 GB, free: 8.133 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/1.54, allocations: 4 kB / 0.586 GB, free: 8.129 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/1.541, allocations: 211.7 kB / 0.5862 GB, free: 7.922 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002882/1.542, allocations: 0.5899 MB / 0.5868 GB, free: 7.309 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/1.542, allocations: 39.7 kB / 0.5868 GB, free: 7.27 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/1.542, allocations: 11.98 kB / 0.5869 GB, free: 7.258 MB / 478.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.000166/1.542, allocations: 182.2 kB / 0.587 GB, free: 7.066 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/1.542, allocations: 23.72 kB / 0.5871 GB, free: 7.043 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004669/1.542, allocations: 239.4 kB / 0.5873 GB, free: 6.797 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.543, allocations: 4 kB / 0.5873 GB, free: 6.793 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.543, allocations: 3.938 kB / 0.5873 GB, free: 6.789 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.543, allocations: 3.984 kB / 0.5873 GB, free: 6.785 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/1.543, allocations: 293.4 kB / 0.5876 GB, free: 6.449 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.543, allocations: 0 / 0.5876 GB, free: 6.449 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/1.544, allocations: 199.8 kB / 0.5878 GB, free: 6.254 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/1.544, allocations: 0 / 0.5878 GB, free: 6.254 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/1.544, allocations: 8 kB / 0.5878 GB, free: 6.246 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002465/1.544, allocations: 0.5898 MB / 0.5883 GB, free: 5.633 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/1.544, allocations: 0 / 0.5883 GB, free: 5.633 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004304/1.545, allocations: 258.5 kB / 0.5886 GB, free: 5.355 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.301e-05/1.545, allocations: 120.7 kB / 0.5887 GB, free: 5.219 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/1.545, allocations: 0 / 0.5887 GB, free: 5.219 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/1.545, allocations: 19.97 kB / 0.5887 GB, free: 5.199 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/1.545, allocations: 15.98 kB / 0.5887 GB, free: 5.184 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/1.545, allocations: 11.88 kB / 0.5888 GB, free: 5.172 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001567/1.545, allocations: 186 kB / 0.5889 GB, free: 4.992 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.545, allocations: 4 kB / 0.5889 GB, free: 4.988 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000849/1.546, allocations: 391.8 kB / 0.5893 GB, free: 4.605 MB / 478.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.001301/1.548, allocations: 0.5053 MB / 0.5898 GB, free: 4.098 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009912/1.557, allocations: 0.8831 MB / 0.5907 GB, free: 3.203 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.557, allocations: 0 / 0.5907 GB, free: 3.203 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008583/1.566, allocations: 0.6587 MB / 0.5913 GB, free: 2.531 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/1.566, allocations: 43.52 kB / 0.5913 GB, free: 2.492 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008118/1.567, allocations: 481 kB / 0.5918 GB, free: 1.992 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/1.567, allocations: 0.7439 MB / 0.5925 GB, free: 1.223 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/1.567, allocations: 27.42 kB / 0.5926 GB, free: 1.195 MB / 478.1 MB Notification: Performance of SimCode: time 2.2e-07/1.568, allocations: 0 / 0.5926 GB, free: 1.195 MB / 478.1 MB Notification: Performance of Templates: time 0.01159/1.579, allocations: 10.26 MB / 0.6026 GB, free: 6.934 MB / 494.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)