Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.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.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8556/0.8556, allocations: 150.9 MB / 166 MB, free: 14.59 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002769/0.0002769, allocations: 7.984 kB / 204 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1651, allocations: 31.33 MB / 235.4 MB, free: 5.438 MB / 190.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.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3): time 1.664/1.829, allocations: 293.7 MB / 0.5166 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5226/2.352, allocations: 195.4 MB / 0.7075 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006002/2.353, allocations: 9.875 kB / 0.7075 GB, free: 3.715 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:120:3-121:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:122:3-123:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Machines/CentrifugalPump.mo:124:3-128:23:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/LumpedStraightPipe.mo:54:3-55:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/LumpedStraightPipe.mo:56:3-57:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0002669/2.353, allocations: 50.38 kB / 0.7075 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006535/2.354, allocations: 201.9 kB / 0.7077 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03648/2.39, allocations: 10.33 MB / 0.7178 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001399/2.391, allocations: 0.7829 MB / 0.7186 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007901/2.392, allocations: 396.3 kB / 0.7189 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008337/2.393, allocations: 328 kB / 0.7192 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007697/2.394, allocations: 373.9 kB / 0.7196 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001216/2.394, allocations: 45.91 kB / 0.7197 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04237/2.436, allocations: 22.56 MB / 0.7417 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004503/2.437, allocations: 256.6 kB / 0.7419 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006141/2.438, allocations: 459 kB / 0.7424 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03258/2.47, allocations: 12.13 MB / 0.7542 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/2.47, allocations: 0 / 0.7542 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.715e-06/2.47, allocations: 0 / 0.7542 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.271e-05/2.47, allocations: 1.203 kB / 0.7542 GB, free: 14.25 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.007791/2.478, allocations: 2.786 MB / 0.7569 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/2.478, allocations: 10.06 kB / 0.7569 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002177/2.478, allocations: 134.7 kB / 0.7571 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006507/2.479, allocations: 0.5573 MB / 0.7576 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.983e-05/2.479, allocations: 52.41 kB / 0.7577 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.997e-05/2.479, allocations: 63.03 kB / 0.7577 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/2.48, allocations: 0.8497 MB / 0.7586 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/2.48, allocations: 4.109 kB / 0.7586 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.085e-05/2.48, allocations: 26 kB / 0.7586 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/2.48, allocations: 19.39 kB / 0.7586 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/2.482, allocations: 0.897 MB / 0.7595 GB, free: 11.57 MB / 0.5919 GB 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.01088/2.493, allocations: 8.09 MB / 0.7674 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/2.494, allocations: 0.957 MB / 0.7683 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000476/2.495, allocations: 332.9 kB / 0.7686 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.622/3.117, allocations: 221.9 MB / 0.9853 GB, free: 447.2 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/3.117, allocations: 39.62 kB / 0.9854 GB, free: 447.2 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=40): time 2.344e-06/3.117, allocations: 0 / 0.9854 GB, free: 447.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=40): time 0.004474/3.121, allocations: 1.562 MB / 0.9869 GB, free: 447 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/3.121, allocations: 57.83 kB / 0.9869 GB, free: 447 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/3.123, allocations: 0.9594 MB / 0.9879 GB, free: 446.8 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/3.123, allocations: 38.14 kB / 0.9879 GB, free: 446.8 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003304/3.123, allocations: 0.5159 MB / 0.9884 GB, free: 446.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.589e-05/3.123, allocations: 142.7 kB / 0.9886 GB, free: 446.6 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/3.123, allocations: 116.1 kB / 0.9887 GB, free: 446.5 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 6.571e-05/3.123, allocations: 330 kB / 0.989 GB, free: 446.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004926/3.124, allocations: 318.3 kB / 0.9893 GB, free: 446.2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005425/3.124, allocations: 436.4 kB / 0.9897 GB, free: 446.1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/3.125, allocations: 0.7473 MB / 0.9904 GB, free: 446 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/3.125, allocations: 0 / 0.9904 GB, free: 446 MB / 0.8106 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001852/3.127, allocations: 1.099 MB / 0.9915 GB, free: 445.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/3.127, allocations: 6.688 kB / 0.9915 GB, free: 445.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/3.127, allocations: 5 kB / 0.9915 GB, free: 445.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006382/3.134, allocations: 1.066 MB / 0.9926 GB, free: 445.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003647/3.134, allocations: 85.2 kB / 0.9926 GB, free: 445.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/3.135, allocations: 1.294 MB / 0.9939 GB, free: 445.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005407/3.136, allocations: 66.97 kB / 0.994 GB, free: 445.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-05/3.136, allocations: 23.81 kB / 0.994 GB, free: 445.3 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 (sourceP.C.ftype,centrifugalPump.fluid,sinkP.fluid,lumpedStraightPipe.fluid,sourceP.fluid1,sourceP.C.diff_on_2,lumpedStraightPipe.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(3,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003968/3.137, allocations: 282.4 kB / 0.9943 GB, free: 445.2 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/3.137, allocations: 101.5 kB / 0.9944 GB, free: 445.1 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001932/3.139, allocations: 1.065 MB / 0.9954 GB, free: 445.1 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/3.139, allocations: 5.719 kB / 0.9954 GB, free: 445.1 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/3.139, allocations: 1.953 kB / 0.9954 GB, free: 445.1 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/3.139, allocations: 3.594 kB / 0.9954 GB, free: 445.1 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/3.141, allocations: 1.841 MB / 0.9972 GB, free: 444.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/3.141, allocations: 0 / 0.9972 GB, free: 444.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003155/3.142, allocations: 57.8 kB / 0.9973 GB, free: 444.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002872/3.144, allocations: 0.5823 MB / 0.9978 GB, free: 444.7 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.999e-05/3.144, allocations: 9.047 kB / 0.9978 GB, free: 444.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/3.146, allocations: 1.193 MB / 0.999 GB, free: 444.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/3.146, allocations: 7.516 kB / 0.999 GB, free: 444.2 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/3.148, allocations: 1.482 MB / 1 GB, free: 444 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/3.148, allocations: 208.8 kB / 1.001 GB, free: 443.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.953e-05/3.148, allocations: 5.094 kB / 1.001 GB, free: 443.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003388/3.149, allocations: 21.12 kB / 1.001 GB, free: 443.8 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.919e-05/3.149, allocations: 33.08 kB / 1.001 GB, free: 443.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/3.149, allocations: 15.62 kB / 1.001 GB, free: 443.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007907/3.15, allocations: 0.6594 MB / 1.001 GB, free: 443.7 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/3.15, allocations: 1.156 kB / 1.001 GB, free: 443.7 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.006205/3.156, allocations: 1.925 MB / 1.003 GB, free: 443.6 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (lumpedStraightPipe.Q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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 {(2,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01138/3.167, allocations: 2.99 MB / 1.006 GB, free: 443.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00181/3.169, allocations: 0.7568 MB / 1.007 GB, free: 443.4 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/3.169, allocations: 0 / 1.007 GB, free: 443.4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007378/3.17, allocations: 376.2 kB / 1.007 GB, free: 443.4 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008978/3.171, allocations: 114.9 kB / 1.007 GB, free: 443.4 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/3.174, allocations: 2.227 MB / 1.01 GB, free: 442.3 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005326/3.174, allocations: 1.057 MB / 1.011 GB, free: 441.6 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003286/3.175, allocations: 74.02 kB / 1.011 GB, free: 441.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/3.175, allocations: 46.06 kB / 1.011 GB, free: 441.6 MB / 0.8106 GB Notification: Performance of SimCode: time 8.61e-07/3.175, allocations: 0 / 1.011 GB, free: 441.6 MB / 0.8106 GB Notification: Performance of Templates: time 0.07317/3.248, allocations: 57.96 MB / 1.067 GB, free: 394.2 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.pipe 2>&1)