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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.859/0.859, allocations: 152.6 MB / 171.4 MB, free: 5.996 MB / 142.1 MB " [Timeout remaining time 179] 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=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 0.0005605/0.0005605, allocations: 11.97 kB / 248.5 MB, free: 5.645 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1884, allocations: 33.06 MB / 281.6 MB, free: 3.551 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.586/1.774, allocations: 300.8 MB / 0.5687 GB, free: 5.879 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2866/2.061, allocations: 12.09 MB / 0.5805 GB, free: 15.19 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/2.061, allocations: 3.562 kB / 0.5805 GB, free: 15.19 MB / 478.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.0001226/2.061, allocations: 38.36 kB / 0.5806 GB, free: 15.19 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/2.061, allocations: 59.73 kB / 0.5806 GB, free: 15.19 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009156/2.07, allocations: 3.475 MB / 0.584 GB, free: 15.14 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004151/2.071, allocations: 270.1 kB / 0.5843 GB, free: 15.13 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002294/2.071, allocations: 124.9 kB / 0.5844 GB, free: 15.12 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/2.071, allocations: 101.5 kB / 0.5845 GB, free: 15.1 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/2.071, allocations: 121.4 kB / 0.5846 GB, free: 15.07 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/2.071, allocations: 24.03 kB / 0.5846 GB, free: 15.07 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01279/2.084, allocations: 7.667 MB / 0.5921 GB, free: 13.92 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/2.084, allocations: 52.78 kB / 0.5922 GB, free: 13.89 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/2.084, allocations: 132.6 kB / 0.5923 GB, free: 13.8 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007816/2.092, allocations: 3.398 MB / 0.5956 GB, free: 12.22 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/2.092, allocations: 4 kB / 0.5956 GB, free: 12.21 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.493e-06/2.092, allocations: 6.812 kB / 0.5956 GB, free: 12.21 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/2.092, allocations: 0 / 0.5956 GB, free: 12.21 MB / 478.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.003125/2.095, allocations: 0.7498 MB / 0.5964 GB, free: 11.65 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/2.095, allocations: 10.69 kB / 0.5964 GB, free: 11.65 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.409e-05/2.095, allocations: 30.16 kB / 0.5964 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/2.096, allocations: 180.1 kB / 0.5966 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/2.096, allocations: 19.25 kB / 0.5966 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/2.096, allocations: 25.56 kB / 0.5966 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/2.096, allocations: 285.1 kB / 0.5969 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/2.096, allocations: 7.031 kB / 0.5969 GB, free: 11.25 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/2.096, allocations: 9.938 kB / 0.5969 GB, free: 11.24 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/2.096, allocations: 7.438 kB / 0.5969 GB, free: 11.24 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004437/2.097, allocations: 183.9 kB / 0.5971 GB, free: 11.16 MB / 478.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.006415/2.103, allocations: 2.563 MB / 0.5996 GB, free: 9.547 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006004/2.104, allocations: 170.4 kB / 0.5998 GB, free: 9.461 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/2.104, allocations: 76.52 kB / 0.5998 GB, free: 9.422 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004826/2.109, allocations: 1.277 MB / 0.6011 GB, free: 9.016 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002873/2.109, allocations: 144 kB / 0.6012 GB, free: 8.898 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 2.374e-06/2.109, allocations: 0.9375 kB / 0.6012 GB, free: 8.898 MB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006907/2.11, allocations: 273.7 kB / 0.6015 GB, free: 8.746 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/2.11, allocations: 106 kB / 0.6016 GB, free: 8.621 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/2.11, allocations: 268.8 kB / 0.6018 GB, free: 8.438 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/2.11, allocations: 30.92 kB / 0.6019 GB, free: 8.402 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.413e-05/2.11, allocations: 167 kB / 0.602 GB, free: 8.246 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/2.11, allocations: 52.19 kB / 0.6021 GB, free: 8.203 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.68e-05/2.11, allocations: 49.14 kB / 0.6021 GB, free: 8.168 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.191e-05/2.11, allocations: 335.8 kB / 0.6024 GB, free: 7.836 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/2.11, allocations: 68.25 kB / 0.6025 GB, free: 7.801 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/2.111, allocations: 116.2 kB / 0.6026 GB, free: 7.707 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002717/2.113, allocations: 0.6375 MB / 0.6032 GB, free: 7.297 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/2.113, allocations: 0 / 0.6032 GB, free: 7.297 MB / 478.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005029/2.114, allocations: 278.3 kB / 0.6035 GB, free: 7.145 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/2.114, allocations: 38.41 kB / 0.6035 GB, free: 7.109 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/2.114, allocations: 1.5 kB / 0.6035 GB, free: 7.109 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/2.114, allocations: 5.562 kB / 0.6036 GB, free: 7.109 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/2.115, allocations: 214.9 kB / 0.6038 GB, free: 7.031 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002064/2.116, allocations: 0.5866 MB / 0.6043 GB, free: 6.438 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/2.116, allocations: 42.84 kB / 0.6044 GB, free: 6.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/2.116, allocations: 11.62 kB / 0.6044 GB, free: 6.406 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.0001603/2.116, allocations: 175.3 kB / 0.6045 GB, free: 6.238 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/2.116, allocations: 22.36 kB / 0.6046 GB, free: 6.227 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004864/2.116, allocations: 242.9 kB / 0.6048 GB, free: 6.074 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/2.116, allocations: 7.469 kB / 0.6048 GB, free: 6.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/2.116, allocations: 3.938 kB / 0.6048 GB, free: 6.066 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/2.116, allocations: 0 / 0.6048 GB, free: 6.066 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/2.117, allocations: 266.5 kB / 0.6051 GB, free: 5.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/2.117, allocations: 0 / 0.6051 GB, free: 5.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/2.118, allocations: 197.5 kB / 0.6053 GB, free: 5.746 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/2.118, allocations: 2.406 kB / 0.6053 GB, free: 5.746 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/2.118, allocations: 5.438 kB / 0.6053 GB, free: 5.742 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001697/2.118, allocations: 0.5861 MB / 0.6058 GB, free: 5.148 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/2.118, allocations: 1.281 kB / 0.6058 GB, free: 5.148 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/2.119, allocations: 260.2 kB / 0.6061 GB, free: 4.969 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.056e-05/2.119, allocations: 45.45 kB / 0.6061 GB, free: 4.934 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/2.119, allocations: 1.938 kB / 0.6061 GB, free: 4.934 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/2.119, allocations: 16.14 kB / 0.6061 GB, free: 4.926 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/2.119, allocations: 14.23 kB / 0.6062 GB, free: 4.918 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/2.119, allocations: 15.36 kB / 0.6062 GB, free: 4.91 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000131/2.119, allocations: 183.6 kB / 0.6063 GB, free: 4.785 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/2.119, allocations: 0 / 0.6063 GB, free: 4.785 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001429/2.121, allocations: 402.9 kB / 0.6067 GB, free: 4.723 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.001601/2.122, allocations: 0.504 MB / 0.6072 GB, free: 4.543 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01156/2.134, allocations: 0.8848 MB / 0.6081 GB, free: 3.996 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/2.134, allocations: 0 / 0.6081 GB, free: 3.996 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009945/2.144, allocations: 0.6467 MB / 0.6087 GB, free: 3.344 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/2.144, allocations: 44.62 kB / 0.6088 GB, free: 3.305 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009069/2.145, allocations: 459.3 kB / 0.6092 GB, free: 2.84 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/2.145, allocations: 0.744 MB / 0.6099 GB, free: 2.07 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001/2.145, allocations: 25.94 kB / 0.61 GB, free: 2.047 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/2.146, allocations: 19.44 kB / 0.61 GB, free: 2.027 MB / 478.1 MB Notification: Performance of SimCode: time 7.11e-07/2.146, allocations: 0 / 0.61 GB, free: 2.027 MB / 478.1 MB Notification: Performance of Templates: time 0.02226/2.168, allocations: 13.17 MB / 0.6228 GB, free: 5.16 MB / 494.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: 6.094761207699776] Failed to read output from testmodel.py, exit status != 0: 2.3295241752639413 2.344029485 0.248790221 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f39533957b0>