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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.8629/0.8629, allocations: 120.4 MB / 139.5 MB, free: 484 kB / 126.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 217.2 MB, free: 13.71 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.318e-05, allocations: 6.219 kB / 217.2 MB, free: 13.71 MB / 206.1 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution): time 1.541/1.541, allocations: 254 MB / 471.2 MB, free: 10.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.234/1.775, allocations: 11.01 MB / 482.3 MB, free: 1.109 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/1.775, allocations: 5.938 kB / 482.3 MB, free: 1.109 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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.0001253/1.775, allocations: 32.38 kB / 482.3 MB, free: 1.109 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002056/1.775, allocations: 64.48 kB / 482.4 MB, free: 1.109 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008577/1.784, allocations: 3.442 MB / 485.8 MB, free: 1.027 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003772/1.784, allocations: 270 kB / 486.1 MB, free: 0.957 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/1.784, allocations: 127.1 kB / 486.2 MB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/1.784, allocations: 157.1 kB / 486.3 MB, free: 0.9297 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/1.785, allocations: 90.17 kB / 486.4 MB, free: 0.918 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.357e-05/1.785, allocations: 24.59 kB / 486.5 MB, free: 0.918 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01241/1.797, allocations: 7.296 MB / 493.7 MB, free: 14.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/1.797, allocations: 55.56 kB / 493.8 MB, free: 14.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/1.797, allocations: 88.2 kB / 493.9 MB, free: 14.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007312/1.805, allocations: 4.48 MB / 498.4 MB, free: 10.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/1.805, allocations: 0 / 498.4 MB, free: 10.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.253e-06/1.805, allocations: 1.062 kB / 498.4 MB, free: 10.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/1.805, allocations: 0.6562 kB / 498.4 MB, free: 10.96 MB / 446.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.002063/1.807, allocations: 0.7564 MB / 499.1 MB, free: 10.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/1.807, allocations: 8.281 kB / 499.1 MB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.295e-05/1.807, allocations: 36.72 kB / 499.2 MB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/1.807, allocations: 178.3 kB / 499.3 MB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/1.807, allocations: 20.84 kB / 499.4 MB, free: 10.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/1.807, allocations: 24.5 kB / 499.4 MB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000542/1.808, allocations: 312.2 kB / 499.7 MB, free: 9.957 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/1.808, allocations: 3.469 kB / 499.7 MB, free: 9.957 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/1.808, allocations: 11.66 kB / 499.7 MB, free: 9.949 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/1.808, allocations: 14.77 kB / 499.7 MB, free: 9.941 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004714/1.808, allocations: 212.9 kB / 499.9 MB, free: 9.832 MB / 446.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.006198/1.814, allocations: 2.294 MB / 0.4905 GB, free: 8.516 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006535/1.815, allocations: 199.3 kB / 0.4906 GB, free: 8.398 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/1.815, allocations: 100.2 kB / 0.4907 GB, free: 8.324 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004821/1.82, allocations: 1.277 MB / 0.492 GB, free: 7.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003395/1.82, allocations: 174.9 kB / 0.4922 GB, free: 7.309 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 2.735e-06/1.82, allocations: 1.375 kB / 0.4922 GB, free: 7.309 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008114/1.821, allocations: 323.4 kB / 0.4925 GB, free: 6.973 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.225e-05/1.821, allocations: 114.8 kB / 0.4926 GB, free: 6.836 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/1.822, allocations: 203.9 kB / 0.4928 GB, free: 6.625 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/1.822, allocations: 33.69 kB / 0.4928 GB, free: 6.586 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/1.822, allocations: 163.9 kB / 0.493 GB, free: 6.426 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/1.822, allocations: 58.19 kB / 0.493 GB, free: 6.371 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.396e-05/1.822, allocations: 58.2 kB / 0.4931 GB, free: 6.309 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/1.822, allocations: 327.5 kB / 0.4934 GB, free: 5.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/1.822, allocations: 90.86 kB / 0.4935 GB, free: 5.883 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/1.822, allocations: 145.6 kB / 0.4936 GB, free: 5.711 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003076/1.825, allocations: 0.6314 MB / 0.4942 GB, free: 5.066 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.825, allocations: 1.031 kB / 0.4942 GB, free: 5.066 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000604/1.826, allocations: 308 kB / 0.4945 GB, free: 4.766 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/1.826, allocations: 37.64 kB / 0.4946 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/1.826, allocations: 4 kB / 0.4946 GB, free: 4.719 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/1.826, allocations: 0 / 0.4946 GB, free: 4.719 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/1.828, allocations: 218 kB / 0.4948 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004167/1.828, allocations: 0.5899 MB / 0.4953 GB, free: 3.918 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/1.828, allocations: 33.08 kB / 0.4954 GB, free: 3.887 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/1.828, allocations: 12 kB / 0.4954 GB, free: 3.875 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.0002238/1.829, allocations: 180.1 kB / 0.4956 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.368e-05/1.829, allocations: 16.47 kB / 0.4956 GB, free: 3.676 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006708/1.829, allocations: 276 kB / 0.4958 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/1.829, allocations: 1.156 kB / 0.4958 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/1.829, allocations: 0 / 0.4958 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.829, allocations: 0 / 0.4958 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/1.83, allocations: 204.4 kB / 0.496 GB, free: 3.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/1.83, allocations: 5.781 kB / 0.496 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/1.831, allocations: 196.7 kB / 0.4962 GB, free: 2.992 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/1.831, allocations: 0 / 0.4962 GB, free: 2.992 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/1.831, allocations: 7.984 kB / 0.4962 GB, free: 2.984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003568/1.832, allocations: 0.5843 MB / 0.4968 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/1.832, allocations: 0.75 kB / 0.4968 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005525/1.832, allocations: 280.6 kB / 0.4971 GB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.783e-05/1.832, allocations: 36.52 kB / 0.4971 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.447e-05/1.832, allocations: 6.031 kB / 0.4971 GB, free: 2.039 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/1.832, allocations: 15.98 kB / 0.4971 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.388e-05/1.832, allocations: 19.91 kB / 0.4971 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/1.832, allocations: 4.5 kB / 0.4971 GB, free: 2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001251/1.833, allocations: 137.9 kB / 0.4973 GB, free: 1.867 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/1.833, allocations: 0.6562 kB / 0.4973 GB, free: 1.867 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001429/1.834, allocations: 415.3 kB / 0.4977 GB, free: 1.461 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.001725/1.836, allocations: 0.5602 MB / 0.4982 GB, free: 0.957 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01221/1.848, allocations: 0.9471 MB / 0.4991 GB, free: 16 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.848, allocations: 0 / 0.4991 GB, free: 16 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01092/1.859, allocations: 0.681 MB / 0.4998 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/1.859, allocations: 28.69 kB / 0.4998 GB, free: 15.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/1.86, allocations: 462.3 kB / 0.5003 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/1.86, allocations: 139.3 kB / 0.5004 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.614e-05/1.86, allocations: 18.09 kB / 0.5004 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.442e-05/1.861, allocations: 24.5 kB / 0.5005 GB, free: 14.63 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/1.861, allocations: 0 / 0.5005 GB, free: 14.63 MB / 462.1 MB Notification: Performance of Templates: time 0.02185/1.882, allocations: 12.69 MB / 0.5128 GB, free: 2.207 MB / 462.1 MB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8813435435295105] Failed to read output from testmodel.py, exit status != 0: 2.0550277419388294 2.070152427 0.26230965900000003 Calling exit ...