Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.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_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8199/0.8199, allocations: 150.8 MB / 166.6 MB, free: 11.16 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002439/0.0002439, allocations: 15.97 kB / 204.7 MB, free: 6.141 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1564, allocations: 31.33 MB / 236 MB, free: 3.898 MB / 186.7 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_1): time 1.595/1.752, allocations: 292.4 MB / 0.516 GB, free: 9.602 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.4923/2.244, allocations: 188.9 MB / 0.7005 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003588/2.244, allocations: 8.375 kB / 0.7005 GB, free: 1.879 MB / 0.5573 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/SourcePQ.mo:74:3-75: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/Sink.mo:39:3-40: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/ElectroMechanics/BoundaryConditions/SourceAngularVelocity.mo:11:3-15:24:writable] Warning: Connector M is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0002202/2.245, allocations: 44.77 kB / 0.7005 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0004748/2.245, allocations: 141.3 kB / 0.7006 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0252/2.27, allocations: 8.821 MB / 0.7093 GB, free: 1.656 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0008168/2.271, allocations: 0.5701 MB / 0.7098 GB, free: 1.652 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005119/2.272, allocations: 313.6 kB / 0.7101 GB, free: 1.605 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004598/2.272, allocations: 246 kB / 0.7103 GB, free: 1.605 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005346/2.273, allocations: 259.4 kB / 0.7106 GB, free: 1.602 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001668/2.273, allocations: 33.84 kB / 0.7106 GB, free: 1.602 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02864/2.301, allocations: 16.76 MB / 0.727 GB, free: 15.44 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002835/2.302, allocations: 208.9 kB / 0.7272 GB, free: 15.39 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005579/2.302, allocations: 364.8 kB / 0.7275 GB, free: 15.37 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.01962/2.322, allocations: 9.063 MB / 0.7364 GB, free: 12.05 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/2.322, allocations: 7.938 kB / 0.7364 GB, free: 12.04 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.443e-06/2.322, allocations: 0 / 0.7364 GB, free: 12.04 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.536e-05/2.322, allocations: 0 / 0.7364 GB, free: 12.04 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.005213/2.327, allocations: 2.145 MB / 0.7385 GB, free: 10.66 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/2.327, allocations: 10.09 kB / 0.7385 GB, free: 10.66 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/2.328, allocations: 111.4 kB / 0.7386 GB, free: 10.61 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006057/2.328, allocations: 0.4926 MB / 0.7391 GB, free: 10.23 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.783e-05/2.328, allocations: 35.56 kB / 0.7391 GB, free: 10.23 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.179e-05/2.328, allocations: 51.22 kB / 0.7392 GB, free: 10.22 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/2.329, allocations: 0.6874 MB / 0.7398 GB, free: 9.977 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/2.329, allocations: 2.094 kB / 0.7398 GB, free: 9.977 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.891e-05/2.329, allocations: 22.03 kB / 0.7399 GB, free: 9.977 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/2.329, allocations: 16.72 kB / 0.7399 GB, free: 9.973 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/2.331, allocations: 0.7012 MB / 0.7406 GB, free: 9.871 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07671/2.407, allocations: 33.31 MB / 0.7731 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/2.409, allocations: 0.8553 MB / 0.7739 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004065/2.409, allocations: 271.7 kB / 0.7742 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2277/2.637, allocations: 110.6 MB / 0.8822 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/2.637, allocations: 38.06 kB / 0.8822 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=29): time 2.304e-06/2.637, allocations: 0 / 0.8822 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of matching and sorting (n=29): time 0.004136/2.641, allocations: 1.452 MB / 0.8836 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/2.641, allocations: 61.94 kB / 0.8837 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/2.642, allocations: 0.8887 MB / 0.8845 GB, free: 404 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/2.642, allocations: 29.7 kB / 0.8846 GB, free: 368 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/2.642, allocations: 461.9 kB / 0.885 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-05/2.642, allocations: 102.2 kB / 0.8851 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/2.643, allocations: 82.03 kB / 0.8852 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001092/2.643, allocations: 328.2 kB / 0.8855 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004392/2.643, allocations: 272.7 kB / 0.8858 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005386/2.644, allocations: 390.2 kB / 0.8861 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009177/2.645, allocations: 0.6637 MB / 0.8868 GB, free: 14 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/2.645, allocations: 3.938 kB / 0.8868 GB, free: 14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001582/2.646, allocations: 0.9362 MB / 0.8877 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/2.646, allocations: 11.98 kB / 0.8877 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/2.646, allocations: 4 kB / 0.8877 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004152/2.65, allocations: 0.7152 MB / 0.8884 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/2.651, allocations: 77.11 kB / 0.8885 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/2.652, allocations: 1.166 MB / 0.8896 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003737/2.652, allocations: 65.94 kB / 0.8897 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/2.652, allocations: 20 kB / 0.8897 GB, free: 11 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (sourcePQ.C.ftype,centrifugalPump.fluid,sink.fluid,sourcePQ.fluid1,sourcePQ.C.diff_on_2,centrifugalPump.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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,13)} Notification: Performance of prepare postOptimizeDAE: time 0.000308/2.653, allocations: 265 kB / 0.89 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/2.653, allocations: 98.77 kB / 0.89 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/2.654, allocations: 0.8882 MB / 0.8909 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/2.654, allocations: 0 / 0.8909 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/2.654, allocations: 8 kB / 0.8909 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/2.654, allocations: 0 / 0.8909 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/2.657, allocations: 1.576 MB / 0.8925 GB, free: 8.117 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/2.657, allocations: 4 kB / 0.8925 GB, free: 8.113 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/2.657, allocations: 35.97 kB / 0.8925 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002797/2.66, allocations: 0.5769 MB / 0.8931 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/2.66, allocations: 4 kB / 0.8931 GB, free: 7.496 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/2.661, allocations: 1.177 MB / 0.8942 GB, free: 6.293 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/2.661, allocations: 0 / 0.8942 GB, free: 6.293 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/2.663, allocations: 2.076 MB / 0.8962 GB, free: 4.16 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002506/2.664, allocations: 184.8 kB / 0.8964 GB, free: 3.961 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.96e-05/2.664, allocations: 11.98 kB / 0.8964 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/2.664, allocations: 15.98 kB / 0.8964 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/2.664, allocations: 19.91 kB / 0.8965 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/2.664, allocations: 14.44 kB / 0.8965 GB, free: 3.902 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006688/2.665, allocations: 0.6144 MB / 0.8971 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/2.665, allocations: 0 / 0.8971 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003983/2.669, allocations: 1.374 MB / 0.8984 GB, free: 1.902 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (15): * Single equations (assignments): 14 * 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00531/2.674, allocations: 2 MB / 0.9004 GB, free: 152 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001256/2.675, allocations: 0.6417 MB / 0.901 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/2.675, allocations: 0 / 0.901 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005921/2.676, allocations: 326.5 kB / 0.9013 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006306/2.677, allocations: 93.75 kB / 0.9014 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/2.679, allocations: 2.079 MB / 0.9034 GB, free: 13 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005484/2.68, allocations: 1.012 MB / 0.9044 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002095/2.68, allocations: 52.3 kB / 0.9045 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.967e-05/2.68, allocations: 27.44 kB / 0.9045 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of SimCode: time 9.41e-07/2.68, allocations: 0 / 0.9045 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of Templates: time 0.05395/2.734, allocations: 44.68 MB / 0.9481 GB, free: 15.28 MB / 0.7917 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe 2>&1)