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: "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestCentrifugalPump_Scenario_3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestCentrifugalPump_Scenario_3",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.7746/0.7746, allocations: 150.9 MB / 166 MB, free: 14.7 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003031/0.0003033, allocations: 7.984 kB / 204.1 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.152, allocations: 31.34 MB / 235.5 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.531/1.683, allocations: 294.6 MB / 0.5177 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4933/2.177, allocations: 195.4 MB / 0.7085 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007445/2.177, allocations: 8.344 kB / 0.7085 GB, free: 3.699 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.0002433/2.178, allocations: 48.55 kB / 0.7085 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006679/2.178, allocations: 200.8 kB / 0.7087 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03277/2.211, allocations: 10.33 MB / 0.7188 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001308/2.212, allocations: 0.7869 MB / 0.7196 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005291/2.213, allocations: 397.2 kB / 0.72 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004512/2.213, allocations: 322 kB / 0.7203 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004208/2.214, allocations: 373.9 kB / 0.7206 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.364e-05/2.214, allocations: 45.44 kB / 0.7207 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03895/2.253, allocations: 22.58 MB / 0.7427 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003858/2.253, allocations: 252.8 kB / 0.743 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005609/2.254, allocations: 456.4 kB / 0.7434 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03074/2.285, allocations: 12.14 MB / 0.7553 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/2.285, allocations: 4 kB / 0.7553 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.614e-06/2.285, allocations: 0 / 0.7553 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.316e-05/2.285, allocations: 0 / 0.7553 GB, free: 14.28 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.009046/2.294, allocations: 2.786 MB / 0.758 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/2.294, allocations: 8.469 kB / 0.758 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/2.294, allocations: 109 kB / 0.7581 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/2.294, allocations: 141.1 kB / 0.7582 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007319/2.295, allocations: 0.548 MB / 0.7588 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.199e-05/2.295, allocations: 51.59 kB / 0.7588 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.152e-05/2.295, allocations: 66.33 kB / 0.7589 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/2.296, allocations: 0.8515 MB / 0.7597 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/2.297, allocations: 3.938 kB / 0.7597 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/2.297, allocations: 25.78 kB / 0.7597 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/2.297, allocations: 22.88 kB / 0.7598 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/2.298, allocations: 0.8925 MB / 0.7606 GB, free: 11.55 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.01194/2.31, allocations: 8.095 MB / 0.7685 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/2.311, allocations: 0.9509 MB / 0.7695 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004605/2.312, allocations: 328.5 kB / 0.7698 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6165/2.928, allocations: 221.9 MB / 0.9865 GB, free: 446.9 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/2.928, allocations: 43.75 kB / 0.9865 GB, free: 446.9 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=40): time 2.454e-06/2.929, allocations: 0 / 0.9865 GB, free: 446.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=40): time 0.004426/2.933, allocations: 1.558 MB / 0.988 GB, free: 446.7 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/2.933, allocations: 57.06 kB / 0.9881 GB, free: 446.7 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/2.934, allocations: 0.9629 MB / 0.989 GB, free: 446.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/2.934, allocations: 34.11 kB / 0.9891 GB, free: 446.5 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003405/2.935, allocations: 0.5208 MB / 0.9896 GB, free: 446.4 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/2.935, allocations: 141.2 kB / 0.9897 GB, free: 446.3 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/2.935, allocations: 119.3 kB / 0.9898 GB, free: 446.2 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.713e-05/2.935, allocations: 329.9 kB / 0.9901 GB, free: 445.9 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005111/2.936, allocations: 319 kB / 0.9904 GB, free: 445.9 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005746/2.936, allocations: 432 kB / 0.9908 GB, free: 445.8 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/2.937, allocations: 0.7477 MB / 0.9916 GB, free: 445.7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/2.937, allocations: 0 / 0.9916 GB, free: 445.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001946/2.939, allocations: 1.104 MB / 0.9927 GB, free: 445.6 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/2.939, allocations: 5.719 kB / 0.9927 GB, free: 445.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/2.939, allocations: 4.094 kB / 0.9927 GB, free: 445.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006484/2.946, allocations: 1.058 MB / 0.9937 GB, free: 445.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000394/2.946, allocations: 84.23 kB / 0.9938 GB, free: 445.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/2.948, allocations: 1.293 MB / 0.995 GB, free: 445 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005556/2.948, allocations: 69.03 kB / 0.9951 GB, free: 445 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.652e-05/2.948, allocations: 24.17 kB / 0.9951 GB, free: 445 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.0004257/2.949, allocations: 280 kB / 0.9954 GB, free: 444.9 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/2.949, allocations: 105.8 kB / 0.9955 GB, free: 444.8 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001938/2.951, allocations: 1.072 MB / 0.9965 GB, free: 444.8 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/2.951, allocations: 4.312 kB / 0.9965 GB, free: 444.8 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/2.951, allocations: 0.6562 kB / 0.9965 GB, free: 444.8 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/2.951, allocations: 2.109 kB / 0.9966 GB, free: 444.8 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/2.953, allocations: 1.839 MB / 0.9983 GB, free: 444.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/2.953, allocations: 6.531 kB / 0.9984 GB, free: 444.4 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003254/2.954, allocations: 60.78 kB / 0.9984 GB, free: 444.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002969/2.957, allocations: 0.5802 MB / 0.999 GB, free: 444.4 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.73e-05/2.957, allocations: 10.98 kB / 0.999 GB, free: 444.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/2.958, allocations: 1.195 MB / 1 GB, free: 443.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/2.958, allocations: 2.375 kB / 1 GB, free: 443.9 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002175/2.96, allocations: 1.48 MB / 1.002 GB, free: 443.7 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002964/2.96, allocations: 208.5 kB / 1.002 GB, free: 443.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.297e-05/2.961, allocations: 4.688 kB / 1.002 GB, free: 443.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/2.961, allocations: 27.53 kB / 1.002 GB, free: 443.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/2.961, allocations: 29.8 kB / 1.002 GB, free: 443.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/2.961, allocations: 18.77 kB / 1.002 GB, free: 443.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0007604/2.962, allocations: 0.6582 MB / 1.003 GB, free: 443.4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.71e-07/2.962, allocations: 0.6562 kB / 1.003 GB, free: 443.4 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.006026/2.968, allocations: 1.927 MB / 1.004 GB, free: 443.3 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.01412/2.982, allocations: 4.875 MB / 1.009 GB, free: 442.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00162/2.984, allocations: 0.7557 MB / 1.01 GB, free: 442.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/2.984, allocations: 0 / 1.01 GB, free: 442.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006245/2.984, allocations: 384.4 kB / 1.01 GB, free: 442.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008784/2.985, allocations: 119.6 kB / 1.01 GB, free: 442.5 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/3.001, allocations: 9.756 MB / 1.02 GB, free: 438.9 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006212/3.002, allocations: 1.053 MB / 1.021 GB, free: 438.2 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003519/3.002, allocations: 78.86 kB / 1.021 GB, free: 438.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004055/3.003, allocations: 359.9 kB / 1.021 GB, free: 438.2 MB / 0.8106 GB Notification: Performance of SimCode: time 1.233e-06/3.003, allocations: 2.844 kB / 1.021 GB, free: 438.2 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09283/3.096, allocations: 70.15 MB / 1.09 GB, free: 374.1 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/3.096, allocations: 337.1 kB / 1.09 GB, free: 373.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.91/8.005, allocations: 1.5 kB / 1.09 GB, free: 373.7 MB / 0.8106 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestCentrifugalPump_Scenario_3_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestCentrifugalPump_Scenario_3.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_3.pipe 2>&1)