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.5928/0.5928, allocations: 120.4 MB / 140.2 MB, free: 12.97 MB / 138.7 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 2.564e-06/2.564e-06, allocations: 0 / 218 MB, free: 8.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/3.063e-05, allocations: 6.516 kB / 218 MB, free: 8.617 MB / 202.7 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/1, allocations: 254 MB / 472 MB, free: 8.844 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01002/1.01, allocations: 11.01 MB / 483 MB, free: 13.79 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.459e-05/1.01, allocations: 4 kB / 483 MB, free: 13.79 MB / 442.7 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 8.074e-05/1.01, allocations: 31.66 kB / 483.1 MB, free: 13.76 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/1.011, allocations: 71.34 kB / 483.1 MB, free: 13.69 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004604/1.015, allocations: 3.451 MB / 486.6 MB, free: 10.22 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002705/1.015, allocations: 275.1 kB / 486.8 MB, free: 9.953 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/1.016, allocations: 124.1 kB / 487 MB, free: 9.828 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/1.016, allocations: 155.7 kB / 487.1 MB, free: 9.676 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/1.016, allocations: 91.69 kB / 487.2 MB, free: 9.586 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/1.016, allocations: 24 kB / 487.2 MB, free: 9.562 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00732/1.023, allocations: 7.287 MB / 494.5 MB, free: 2.266 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.435e-05/1.023, allocations: 59.69 kB / 494.6 MB, free: 2.207 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.481e-05/1.023, allocations: 83.83 kB / 494.7 MB, free: 2.125 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.188/1.211, allocations: 4.479 MB / 499.1 MB, free: 9.574 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/1.211, allocations: 0 / 499.1 MB, free: 9.574 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.663e-06/1.211, allocations: 1.891 kB / 499.1 MB, free: 9.574 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.672e-06/1.211, allocations: 1.188 kB / 499.1 MB, free: 9.574 MB / 442.7 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.002205/1.213, allocations: 0.7452 MB / 499.9 MB, free: 9.109 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/1.214, allocations: 12.16 kB / 499.9 MB, free: 9.109 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.796e-05/1.214, allocations: 30.72 kB / 499.9 MB, free: 9.094 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/1.214, allocations: 178.8 kB / 0.4884 GB, free: 8.949 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/1.214, allocations: 17.22 kB / 0.4884 GB, free: 8.949 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/1.214, allocations: 24.09 kB / 0.4884 GB, free: 8.949 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003594/1.214, allocations: 316.8 kB / 0.4887 GB, free: 8.828 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/1.214, allocations: 4.75 kB / 0.4887 GB, free: 8.828 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/1.214, allocations: 13.33 kB / 0.4887 GB, free: 8.828 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/1.214, allocations: 10.67 kB / 0.4887 GB, free: 8.824 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002837/1.214, allocations: 210.5 kB / 0.4889 GB, free: 8.789 MB / 442.7 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.003192/1.218, allocations: 2.302 MB / 0.4912 GB, free: 8.047 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/1.218, allocations: 203.2 kB / 0.4914 GB, free: 7.992 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/1.218, allocations: 88.66 kB / 0.4915 GB, free: 7.953 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002198/1.22, allocations: 1.29 MB / 0.4927 GB, free: 7.945 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/1.22, allocations: 182.5 kB / 0.4929 GB, free: 7.832 MB / 442.7 MB Notification: Performance of pre-optimization done (n=17): time 1.743e-06/1.22, allocations: 0.875 kB / 0.4929 GB, free: 7.832 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004868/1.221, allocations: 314.8 kB / 0.4932 GB, free: 7.699 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/1.221, allocations: 107.3 kB / 0.4933 GB, free: 7.574 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/1.221, allocations: 211.2 kB / 0.4935 GB, free: 7.457 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/1.221, allocations: 27.62 kB / 0.4935 GB, free: 7.426 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.957e-05/1.221, allocations: 167.2 kB / 0.4937 GB, free: 7.305 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/1.221, allocations: 55.91 kB / 0.4937 GB, free: 7.273 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.146e-05/1.221, allocations: 55.45 kB / 0.4938 GB, free: 7.254 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.935e-05/1.221, allocations: 330.1 kB / 0.4941 GB, free: 6.941 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/1.222, allocations: 92.02 kB / 0.4942 GB, free: 6.906 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/1.222, allocations: 154.6 kB / 0.4944 GB, free: 6.809 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/1.223, allocations: 0.6251 MB / 0.495 GB, free: 6.617 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.223, allocations: 1.719 kB / 0.495 GB, free: 6.617 MB / 442.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003107/1.223, allocations: 299.7 kB / 0.4952 GB, free: 6.512 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/1.224, allocations: 39.86 kB / 0.4953 GB, free: 6.477 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/1.224, allocations: 5.766 kB / 0.4953 GB, free: 6.477 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/1.224, allocations: 2.75 kB / 0.4953 GB, free: 6.477 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006768/1.224, allocations: 214.5 kB / 0.4955 GB, free: 6.477 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001583/1.224, allocations: 0.5843 MB / 0.4961 GB, free: 5.895 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.194e-05/1.224, allocations: 37.3 kB / 0.4961 GB, free: 5.879 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/1.224, allocations: 8.812 kB / 0.4961 GB, free: 5.879 MB / 442.7 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.0001335/1.225, allocations: 180.4 kB / 0.4963 GB, free: 5.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/1.225, allocations: 18.03 kB / 0.4963 GB, free: 5.723 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003227/1.225, allocations: 269.1 kB / 0.4966 GB, free: 5.621 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/1.225, allocations: 1.312 kB / 0.4966 GB, free: 5.621 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/1.225, allocations: 0.5625 kB / 0.4966 GB, free: 5.621 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.225, allocations: 3.734 kB / 0.4966 GB, free: 5.621 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/1.225, allocations: 210.9 kB / 0.4968 GB, free: 5.488 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.225, allocations: 1.938 kB / 0.4968 GB, free: 5.488 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006317/1.226, allocations: 193.5 kB / 0.497 GB, free: 5.488 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/1.226, allocations: 4.562 kB / 0.497 GB, free: 5.488 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/1.226, allocations: 11.11 kB / 0.497 GB, free: 5.488 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001027/1.226, allocations: 0.5817 MB / 0.4975 GB, free: 4.906 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.226, allocations: 0 / 0.4975 GB, free: 4.906 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/1.226, allocations: 282.5 kB / 0.4978 GB, free: 4.766 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/1.226, allocations: 35.77 kB / 0.4978 GB, free: 4.754 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/1.226, allocations: 5.969 kB / 0.4978 GB, free: 4.754 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.809e-05/1.226, allocations: 13.38 kB / 0.4979 GB, free: 4.754 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/1.226, allocations: 25.61 kB / 0.4979 GB, free: 4.746 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/1.226, allocations: 4.031 kB / 0.4979 GB, free: 4.746 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.448e-05/1.226, allocations: 139.5 kB / 0.498 GB, free: 4.672 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/1.226, allocations: 0 / 0.498 GB, free: 4.672 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001099/1.227, allocations: 407 kB / 0.4984 GB, free: 4.633 MB / 442.7 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.00122/1.229, allocations: 0.5628 MB / 0.499 GB, free: 4.512 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004243/1.233, allocations: 0.9294 MB / 0.4999 GB, free: 4.359 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.233, allocations: 3.188 kB / 0.4999 GB, free: 4.359 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003596/1.237, allocations: 0.6781 MB / 0.5005 GB, free: 4.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001883/1.237, allocations: 28.73 kB / 0.5006 GB, free: 4.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000631/1.237, allocations: 483.9 kB / 0.501 GB, free: 3.941 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.566e-05/1.237, allocations: 134.9 kB / 0.5011 GB, free: 3.859 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.875e-05/1.237, allocations: 22.56 kB / 0.5012 GB, free: 3.848 MB / 442.7 MB Notification: Performance of SimCode: time 4.8e-07/1.237, allocations: 6.188 kB / 0.5012 GB, free: 3.848 MB / 442.7 MB Notification: Performance of Templates: time 0.00812/1.246, allocations: 10.21 MB / 0.5111 GB, free: 14.43 MB / 458.7 MB " [Timeout remaining time 659] 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.629686653614044] Failed to read output from testmodel.py, exit status != 0: 1.4665966453030705 1.384097774 0.17115125 Calling exit ...