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.8985/0.8985, allocations: 153.8 MB / 173.4 MB, free: 4.883 MB / 142.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 0.0005172/0.0005172, allocations: 15.98 kB / 251 MB, free: 3.887 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1692, allocations: 33.35 MB / 284.4 MB, free: 2.035 MB / 222.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.949/2.118, allocations: 307.3 MB / 0.5778 GB, free: 17.42 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02243/2.141, allocations: 11.01 MB / 0.5886 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/2.141, allocations: 3.5 kB / 0.5886 GB, free: 15.68 MB / 478.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.0001885/2.141, allocations: 29.98 kB / 0.5886 GB, free: 15.66 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002794/2.141, allocations: 59.05 kB / 0.5887 GB, free: 15.62 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01312/2.154, allocations: 3.432 MB / 0.592 GB, free: 14.51 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005096/2.155, allocations: 262.5 kB / 0.5923 GB, free: 14.38 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/2.155, allocations: 120.5 kB / 0.5924 GB, free: 14.32 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/2.155, allocations: 107.9 kB / 0.5925 GB, free: 14.27 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/2.156, allocations: 105.9 kB / 0.5926 GB, free: 14.22 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.025e-05/2.156, allocations: 26.91 kB / 0.5926 GB, free: 14.22 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01727/2.173, allocations: 7.285 MB / 0.5997 GB, free: 12.29 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.648e-05/2.173, allocations: 58.67 kB / 0.5998 GB, free: 12.24 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/2.173, allocations: 101.2 kB / 0.5999 GB, free: 12.18 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005915/2.179, allocations: 3.421 MB / 0.6032 GB, free: 9.867 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/2.179, allocations: 0 / 0.6032 GB, free: 9.867 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.663e-06/2.179, allocations: 0 / 0.6032 GB, free: 9.867 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/2.179, allocations: 1.531 kB / 0.6032 GB, free: 9.867 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.002391/2.181, allocations: 0.7572 MB / 0.604 GB, free: 9.297 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/2.182, allocations: 10.41 kB / 0.604 GB, free: 9.297 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.316e-05/2.182, allocations: 31.88 kB / 0.604 GB, free: 9.281 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/2.182, allocations: 174.4 kB / 0.6042 GB, free: 9.105 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/2.182, allocations: 17.12 kB / 0.6042 GB, free: 9.102 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/2.182, allocations: 27.3 kB / 0.6042 GB, free: 9.09 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004593/2.182, allocations: 319.2 kB / 0.6045 GB, free: 8.848 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/2.182, allocations: 1.219 kB / 0.6045 GB, free: 8.848 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/2.182, allocations: 11.5 kB / 0.6045 GB, free: 8.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/2.182, allocations: 7.344 kB / 0.6045 GB, free: 8.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004164/2.183, allocations: 213.3 kB / 0.6047 GB, free: 8.727 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.005711/2.188, allocations: 2.309 MB / 0.607 GB, free: 7.367 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005055/2.189, allocations: 202.9 kB / 0.6072 GB, free: 7.242 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/2.189, allocations: 98.3 kB / 0.6073 GB, free: 7.172 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004278/2.193, allocations: 1.28 MB / 0.6085 GB, free: 6.145 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002495/2.194, allocations: 179.2 kB / 0.6087 GB, free: 5.945 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 2.084e-06/2.194, allocations: 0 / 0.6087 GB, free: 5.945 MB / 478.1 MB Notification: Performance of matching and sorting (n=17): time 0.000602/2.194, allocations: 323 kB / 0.609 GB, free: 5.605 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/2.194, allocations: 106.8 kB / 0.6091 GB, free: 5.477 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/2.194, allocations: 211.3 kB / 0.6093 GB, free: 5.258 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/2.194, allocations: 25.7 kB / 0.6093 GB, free: 5.227 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.232e-05/2.195, allocations: 168.2 kB / 0.6095 GB, free: 5.059 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/2.195, allocations: 51.59 kB / 0.6096 GB, free: 5.008 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.569e-05/2.195, allocations: 60.36 kB / 0.6096 GB, free: 4.945 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.514e-05/2.195, allocations: 330.8 kB / 0.6099 GB, free: 4.613 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/2.195, allocations: 93.89 kB / 0.61 GB, free: 4.512 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/2.195, allocations: 146.2 kB / 0.6102 GB, free: 4.34 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002476/2.197, allocations: 0.6357 MB / 0.6108 GB, free: 3.66 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/2.197, allocations: 0 / 0.6108 GB, free: 3.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004517/2.198, allocations: 310.1 kB / 0.6111 GB, free: 3.34 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/2.198, allocations: 36.42 kB / 0.6111 GB, free: 3.301 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/2.198, allocations: 4 kB / 0.6111 GB, free: 3.297 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/2.198, allocations: 0 / 0.6111 GB, free: 3.297 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/2.199, allocations: 213 kB / 0.6113 GB, free: 3.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001887/2.2, allocations: 0.59 MB / 0.6119 GB, free: 2.477 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/2.2, allocations: 35.77 kB / 0.6119 GB, free: 2.441 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/2.2, allocations: 8 kB / 0.6119 GB, free: 2.434 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.0001475/2.2, allocations: 179.1 kB / 0.6121 GB, free: 2.246 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/2.2, allocations: 20 kB / 0.6121 GB, free: 2.227 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004545/2.2, allocations: 270.7 kB / 0.6124 GB, free: 1.945 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/2.2, allocations: 0.6094 kB / 0.6124 GB, free: 1.945 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/2.2, allocations: 0 / 0.6124 GB, free: 1.945 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/2.2, allocations: 4.5 kB / 0.6124 GB, free: 1.941 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/2.201, allocations: 209.1 kB / 0.6126 GB, free: 1.707 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/2.201, allocations: 0 / 0.6126 GB, free: 1.707 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/2.202, allocations: 196.2 kB / 0.6128 GB, free: 1.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/2.202, allocations: 0 / 0.6128 GB, free: 1.52 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/2.202, allocations: 11.98 kB / 0.6128 GB, free: 1.508 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000156/2.202, allocations: 0.5898 MB / 0.6134 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/2.202, allocations: 0.625 kB / 0.6134 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/2.203, allocations: 270.5 kB / 0.6136 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.955e-05/2.203, allocations: 39.77 kB / 0.6137 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/2.203, allocations: 7.938 kB / 0.6137 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/2.203, allocations: 15.98 kB / 0.6137 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.009e-05/2.203, allocations: 15.97 kB / 0.6137 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/2.203, allocations: 5.375 kB / 0.6137 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.523e-05/2.203, allocations: 144.9 kB / 0.6138 GB, free: 388 kB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/2.203, allocations: 0 / 0.6138 GB, free: 388 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.00125/2.204, allocations: 415.3 kB / 0.6142 GB, free: 15.97 MB / 494.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.001578/2.206, allocations: 0.4976 MB / 0.6147 GB, free: 15.47 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01138/2.217, allocations: 0.9477 MB / 0.6156 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/2.217, allocations: 0 / 0.6156 GB, free: 14.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009854/2.227, allocations: 0.6711 MB / 0.6163 GB, free: 13.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/2.227, allocations: 25.5 kB / 0.6163 GB, free: 13.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/2.228, allocations: 0.505 MB / 0.6168 GB, free: 13.26 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/2.229, allocations: 129.9 kB / 0.6169 GB, free: 13.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.622e-05/2.229, allocations: 27.42 kB / 0.617 GB, free: 13.09 MB / 494.1 MB Notification: Performance of SimCode: time 8.42e-07/2.229, allocations: 0 / 0.617 GB, free: 13.09 MB / 494.1 MB Notification: Performance of Templates: time 0.01588/2.245, allocations: 10.16 MB / 0.6269 GB, free: 3.172 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: 8.901576220057905] Failed to read output from testmodel.py, exit status != 0: 2.404454261995852 2.4197317849999997 0.23723802800000002 Calling exit ...