Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution.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.TestCentrifugalPumpWaterSolution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8501/0.8501, allocations: 150.9 MB / 167.2 MB, free: 14.58 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003801, allocations: 16.36 kB / 237.8 MB, free: 1.754 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06491/0.0653, allocations: 31.34 MB / 269.1 MB, free: 7.039 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.TestCentrifugalPumpWaterSolution): time 1.64/1.706, allocations: 294.8 MB / 0.5507 GB, free: 12.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01488/1.721, allocations: 12.09 MB / 0.5625 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/1.721, allocations: 4 kB / 0.5625 GB, free: 0.832 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSolution/BoundaryConditions/RefP.mo:5:3-7: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/BoundaryConditions/RefP.mo:8:3-9: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/LoopBreakers/LoopBreakerQ.mo:5:3-7:16:writable] Warning: Connector Ce 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/LoopBreakers/LoopBreakerQ.mo:8:3-9: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/LoopBreakers/LoopBreakerT.mo:5:3-7:16:writable] Warning: Connector Ce 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/LoopBreakers/LoopBreakerT.mo:8:3-9: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/RefT.mo:5:3-7: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/BoundaryConditions/RefT.mo:8:3-9: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/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/LoopBreakers/LoopBreakerXh2o.mo:5:3-7:16:writable] Warning: Connector Ce 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/LoopBreakers/LoopBreakerXh2o.mo:8:3-9: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/RefXh2o.mo:5:3-7: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/BoundaryConditions/RefXh2o.mo:8:3-9:83:writable] Warning: Connector C2 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.000188/1.721, allocations: 61.84 kB / 0.5626 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002254/1.721, allocations: 95.06 kB / 0.5627 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008103/1.729, allocations: 3.435 MB / 0.5661 GB, free: 13.25 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005236/1.73, allocations: 378.6 kB / 0.5664 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003718/1.73, allocations: 274.7 kB / 0.5667 GB, free: 12.6 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/1.73, allocations: 151.5 kB / 0.5668 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/1.731, allocations: 187.2 kB / 0.567 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.093e-05/1.731, allocations: 40 kB / 0.567 GB, free: 12.23 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01244/1.743, allocations: 7.674 MB / 0.5745 GB, free: 4.547 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/1.743, allocations: 95.69 kB / 0.5746 GB, free: 4.453 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002259/1.744, allocations: 203 kB / 0.5748 GB, free: 4.254 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006275/1.75, allocations: 3.571 MB / 0.5783 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.75, allocations: 0 / 0.5783 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.503e-06/1.75, allocations: 0 / 0.5783 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/1.75, allocations: 0 / 0.5783 GB, free: 0.6719 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002061/1.752, allocations: 0.8779 MB / 0.5792 GB, free: 15.75 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/1.752, allocations: 15.97 kB / 0.5792 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.289e-05/1.752, allocations: 48.38 kB / 0.5792 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/1.752, allocations: 268.8 kB / 0.5795 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.322e-05/1.752, allocations: 33.38 kB / 0.5795 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.336e-05/1.752, allocations: 48.12 kB / 0.5796 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006814/1.753, allocations: 0.4911 MB / 0.58 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/1.753, allocations: 7.984 kB / 0.58 GB, free: 14.74 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/1.753, allocations: 24 kB / 0.5801 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/1.753, allocations: 12 kB / 0.5801 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004642/1.754, allocations: 267.6 kB / 0.5803 GB, free: 14.45 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.006711/1.76, allocations: 4.136 MB / 0.5844 GB, free: 10.06 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/1.761, allocations: 142.6 kB / 0.5845 GB, free: 9.914 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/1.761, allocations: 56.83 kB / 0.5846 GB, free: 9.855 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004511/1.765, allocations: 1.717 MB / 0.5862 GB, free: 8.027 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/1.766, allocations: 38.56 kB / 0.5863 GB, free: 7.98 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 2.274e-06/1.766, allocations: 0 / 0.5863 GB, free: 7.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=12): time 0.001053/1.767, allocations: 353.1 kB / 0.5866 GB, free: 7.609 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/1.767, allocations: 63.28 kB / 0.5867 GB, free: 7.535 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003357/1.767, allocations: 352.3 kB / 0.587 GB, free: 7.188 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/1.767, allocations: 25.7 kB / 0.587 GB, free: 7.156 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/1.767, allocations: 219.9 kB / 0.5872 GB, free: 6.934 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/1.767, allocations: 39.45 kB / 0.5873 GB, free: 6.895 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.201e-05/1.767, allocations: 69.59 kB / 0.5873 GB, free: 6.82 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/1.767, allocations: 346.8 kB / 0.5877 GB, free: 6.473 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/1.768, allocations: 47.98 kB / 0.5877 GB, free: 6.426 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/1.768, allocations: 175.4 kB / 0.5879 GB, free: 6.199 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/1.768, allocations: 251.1 kB / 0.5881 GB, free: 5.898 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.768, allocations: 0 / 0.5881 GB, free: 5.898 MB / 478.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005028/1.769, allocations: 304.2 kB / 0.5884 GB, free: 5.594 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/1.769, allocations: 8 kB / 0.5884 GB, free: 5.586 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/1.769, allocations: 4 kB / 0.5884 GB, free: 5.582 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009079/1.77, allocations: 133.2 kB / 0.5886 GB, free: 5.449 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/1.771, allocations: 203.7 kB / 0.5888 GB, free: 5.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007124/1.772, allocations: 1.181 MB / 0.5899 GB, free: 4.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/1.772, allocations: 47.47 kB / 0.59 GB, free: 3.973 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/1.772, allocations: 19.98 kB / 0.59 GB, free: 3.953 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 17 (refXh2o.C2.b,refXh2o.C1.a,loopBreakerXh20_1.Cs.b,loopBreakerXh20_1.Ce.a,lumpedStraightPipe.C2.b,lumpedStraightPipe.C1.a,refT.C2.b,refT.C1.a,loopBreakerH.Cs.b,loopBreakerH.Ce.a,loopBreakerQ.Cs.b,loopBreakerQ.Ce.a,pump.C2.b,pump.C1.a,refP.C2.b,refP.C1.a,pump.commandePompe.signal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001585/1.772, allocations: 157.7 kB / 0.5901 GB, free: 3.789 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/1.772, allocations: 31.62 kB / 0.5901 GB, free: 3.758 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005796/1.773, allocations: 221.2 kB / 0.5904 GB, free: 3.527 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/1.773, allocations: 7.984 kB / 0.5904 GB, free: 3.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/1.773, allocations: 0 / 0.5904 GB, free: 3.52 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.369e-05/1.773, allocations: 116.7 kB / 0.5905 GB, free: 3.387 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/1.773, allocations: 3.984 kB / 0.5905 GB, free: 3.383 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/1.773, allocations: 8 kB / 0.5905 GB, free: 3.375 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/1.773, allocations: 7.984 kB / 0.5905 GB, free: 3.367 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006444/1.774, allocations: 286.4 kB / 0.5908 GB, free: 3.074 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004298/1.774, allocations: 391.3 kB / 0.5911 GB, free: 2.68 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001111/1.774, allocations: 47.91 kB / 0.5912 GB, free: 2.633 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002089/1.775, allocations: 231.1 kB / 0.5914 GB, free: 2.41 MB / 478.1 MB Notification: Performance of Backend: time 7.52e-07/1.775, allocations: 3.938 kB / 0.5914 GB, free: 2.406 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01495/1.79, allocations: 1.62 MB / 0.593 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of SimCode: time 0.001274/1.791, allocations: 1.076 MB / 0.594 GB, free: 15.66 MB / 494.1 MB Notification: Performance of Templates: time 0.03368/1.825, allocations: 25.79 MB / 0.6192 GB, free: 5.871 MB / 0.4981 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCentrifugalPumpWaterSolution.pipe 2>&1)