Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.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: "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestCentrifugalPump_Scenario_4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestCentrifugalPump_Scenario_4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7925/0.7925, allocations: 150.9 MB / 166 MB, free: 14.65 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003113/0.0003114, allocations: 15.97 kB / 204.1 MB, free: 10.04 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1668, allocations: 31.34 MB / 235.5 MB, free: 5.41 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_4): time 1.631/1.798, allocations: 294.1 MB / 0.5171 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.498/2.296, allocations: 188.8 MB / 0.7015 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004641/2.296, allocations: 8.344 kB / 0.7015 GB, free: 3.77 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/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/SourceTorque.mo:5:3-9: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.0002352/2.297, allocations: 41.75 kB / 0.7016 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004666/2.297, allocations: 140.4 kB / 0.7017 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02863/2.326, allocations: 8.819 MB / 0.7103 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00103/2.327, allocations: 0.5812 MB / 0.7109 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003836/2.327, allocations: 311 kB / 0.7112 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002999/2.327, allocations: 250.2 kB / 0.7114 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003198/2.328, allocations: 277 kB / 0.7117 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.932e-05/2.328, allocations: 32.81 kB / 0.7117 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03073/2.359, allocations: 16.76 MB / 0.7281 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003771/2.359, allocations: 217 kB / 0.7283 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005512/2.36, allocations: 366.6 kB / 0.7286 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02558/2.385, allocations: 9.096 MB / 0.7375 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/2.385, allocations: 0 / 0.7375 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.975e-06/2.385, allocations: 0 / 0.7375 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.716e-05/2.385, allocations: 0 / 0.7375 GB, free: 1.832 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.006615/2.392, allocations: 2.167 MB / 0.7396 GB, free: 452 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/2.392, allocations: 12.44 kB / 0.7396 GB, free: 452 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.674e-05/2.392, allocations: 87.64 kB / 0.7397 GB, free: 400 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/2.392, allocations: 112.1 kB / 0.7398 GB, free: 340 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005248/2.393, allocations: 0.4886 MB / 0.7403 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/2.393, allocations: 34.19 kB / 0.7403 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-05/2.393, allocations: 49.31 kB / 0.7404 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/2.394, allocations: 0.5985 MB / 0.741 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/2.394, allocations: 3.875 kB / 0.741 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.637e-05/2.394, allocations: 23.12 kB / 0.741 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/2.394, allocations: 17.03 kB / 0.741 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/2.395, allocations: 0.5932 MB / 0.7416 GB, free: 15.66 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.002675/2.398, allocations: 2.334 MB / 0.7439 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/2.399, allocations: 0.6596 MB / 0.7445 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003636/2.4, allocations: 215.8 kB / 0.7447 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2812/2.681, allocations: 140.8 MB / 0.8823 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/2.681, allocations: 33.94 kB / 0.8823 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 2.635e-06/2.681, allocations: 4.094 kB / 0.8823 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.003257/2.684, allocations: 1.077 MB / 0.8834 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/2.684, allocations: 59.03 kB / 0.8834 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009828/2.685, allocations: 0.8981 MB / 0.8843 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/2.685, allocations: 33.08 kB / 0.8843 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000298/2.686, allocations: 478.9 kB / 0.8848 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.478e-05/2.686, allocations: 107.4 kB / 0.8849 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/2.686, allocations: 96.83 kB / 0.885 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001006/2.686, allocations: 326 kB / 0.8853 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004194/2.686, allocations: 221.2 kB / 0.8855 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004887/2.687, allocations: 342.9 kB / 0.8858 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008459/2.688, allocations: 0.5424 MB / 0.8864 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/2.688, allocations: 4 kB / 0.8864 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001501/2.689, allocations: 0.8621 MB / 0.8872 GB, free: 10.04 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/2.689, allocations: 8 kB / 0.8872 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.006e-06/2.689, allocations: 4 kB / 0.8872 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004576/2.694, allocations: 0.7913 MB / 0.888 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003376/2.694, allocations: 73.11 kB / 0.8881 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/2.696, allocations: 1.24 MB / 0.8893 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005041/2.696, allocations: 70.33 kB / 0.8893 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/2.696, allocations: 27.67 kB / 0.8894 GB, free: 8.086 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,centrifugalPump.fluid,sinkP.fluid,sourceP.fluid1,sourceP.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 {(3,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003294/2.697, allocations: 260.8 kB / 0.8896 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/2.697, allocations: 90.86 kB / 0.8897 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/2.698, allocations: 0.6971 MB / 0.8904 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/2.698, allocations: 4 kB / 0.8904 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/2.698, allocations: 0 / 0.8904 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/2.698, allocations: 0 / 0.8904 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007155/2.699, allocations: 0.6675 MB / 0.891 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/2.699, allocations: 0 / 0.891 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003003/2.699, allocations: 62.8 kB / 0.8911 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002681/2.702, allocations: 430 kB / 0.8915 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.612e-05/2.702, allocations: 14.98 kB / 0.8915 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008841/2.703, allocations: 0.729 MB / 0.8922 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/2.703, allocations: 1.203 kB / 0.8922 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/2.704, allocations: 1.004 MB / 0.8932 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/2.705, allocations: 184.9 kB / 0.8934 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.326e-05/2.705, allocations: 7.375 kB / 0.8934 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/2.705, allocations: 26.97 kB / 0.8934 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/2.705, allocations: 22.94 kB / 0.8934 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/2.705, allocations: 11.38 kB / 0.8934 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006976/2.706, allocations: 0.6249 MB / 0.8941 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.81e-07/2.706, allocations: 0 / 0.8941 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004141/2.71, allocations: 1.344 MB / 0.8954 GB, free: 2.73 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (centrifugalPump.w) * 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 (21): * Single equations (assignments): 20 * 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,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008919/2.719, allocations: 3.434 MB / 0.8987 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001401/2.72, allocations: 0.5491 MB / 0.8993 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/2.72, allocations: 1.203 kB / 0.8993 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007533/2.721, allocations: 292.6 kB / 0.8995 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006951/2.722, allocations: 86.08 kB / 0.8996 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/2.736, allocations: 8.106 MB / 0.9075 GB, free: 7.805 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005925/2.736, allocations: 1.001 MB / 0.9085 GB, free: 6.805 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002988/2.737, allocations: 70.03 kB / 0.9086 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/2.737, allocations: 311.4 kB / 0.9089 GB, free: 6.68 MB / 0.7481 GB Notification: Performance of SimCode: time 1.603e-06/2.737, allocations: 0 / 0.9089 GB, free: 6.68 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08208/2.819, allocations: 55.55 MB / 0.9631 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/2.819, allocations: 335.6 kB / 0.9634 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.265/7.084, allocations: 2.344 kB / 0.9634 GB, free: 15.11 MB / 0.8106 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestCentrifugalPump_Scenario_4_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestCentrifugalPump_Scenario_4.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_4.pipe 2>&1)