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: "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestCentrifugalPump_Scenario_1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestCentrifugalPump_Scenario_1",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.7845/0.7845, allocations: 150.9 MB / 166 MB, free: 14.44 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002953/0.0002953, allocations: 15.97 kB / 204.1 MB, free: 9.898 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1537, allocations: 31.34 MB / 235.5 MB, free: 5.461 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_1): time 1.563/1.717, allocations: 294 MB / 0.5171 GB, free: 13.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4469/2.164, allocations: 188.9 MB / 0.7015 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004429/2.164, allocations: 8.906 kB / 0.7015 GB, free: 3.809 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/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.0002047/2.164, allocations: 38.52 kB / 0.7016 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004082/2.165, allocations: 145.8 kB / 0.7017 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02333/2.188, allocations: 8.805 MB / 0.7103 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009418/2.189, allocations: 0.5683 MB / 0.7109 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003952/2.19, allocations: 306.3 kB / 0.7112 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003007/2.19, allocations: 242.3 kB / 0.7114 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/2.19, allocations: 266.3 kB / 0.7116 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.749e-05/2.19, allocations: 32.56 kB / 0.7117 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02704/2.217, allocations: 16.75 MB / 0.728 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002472/2.218, allocations: 218.6 kB / 0.7282 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003836/2.218, allocations: 356.9 kB / 0.7286 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01794/2.236, allocations: 9.067 MB / 0.7374 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/2.236, allocations: 6.625 kB / 0.7374 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/2.236, allocations: 0 / 0.7374 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.558e-06/2.236, allocations: 0 / 0.7374 GB, free: 1.93 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.005224/2.241, allocations: 2.148 MB / 0.7395 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/2.241, allocations: 11.16 kB / 0.7395 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.214e-05/2.241, allocations: 90.3 kB / 0.7396 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/2.241, allocations: 113 kB / 0.7397 GB, free: 448 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/2.242, allocations: 497.6 kB / 0.7402 GB, free: 64 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/2.242, allocations: 38.31 kB / 0.7403 GB, free: 64 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/2.242, allocations: 47.69 kB / 0.7403 GB, free: 64 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/2.243, allocations: 0.685 MB / 0.741 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/2.243, allocations: 2.906 kB / 0.741 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/2.243, allocations: 24.92 kB / 0.741 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/2.243, allocations: 17.5 kB / 0.741 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/2.244, allocations: 0.707 MB / 0.7417 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06843/2.313, allocations: 33.31 MB / 0.7742 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/2.314, allocations: 0.8484 MB / 0.7751 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003882/2.314, allocations: 276.4 kB / 0.7753 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2103/2.525, allocations: 110.6 MB / 0.8833 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/2.525, allocations: 39.61 kB / 0.8833 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=29): time 1.994e-06/2.525, allocations: 0 / 0.8833 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of matching and sorting (n=29): time 0.003951/2.529, allocations: 1.46 MB / 0.8848 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/2.529, allocations: 58.31 kB / 0.8848 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/2.53, allocations: 0.8871 MB / 0.8857 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/2.53, allocations: 33.44 kB / 0.8857 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/2.53, allocations: 451.1 kB / 0.8861 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.907e-05/2.53, allocations: 103.9 kB / 0.8862 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/2.53, allocations: 89.27 kB / 0.8863 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001038/2.53, allocations: 324.9 kB / 0.8866 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004232/2.531, allocations: 265.5 kB / 0.8869 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004935/2.531, allocations: 393.6 kB / 0.8873 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009064/2.532, allocations: 0.6764 MB / 0.8879 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/2.532, allocations: 0 / 0.8879 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001587/2.534, allocations: 0.9326 MB / 0.8888 GB, free: 8.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/2.534, allocations: 8 kB / 0.8888 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/2.534, allocations: 5.203 kB / 0.8888 GB, free: 8.508 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00434/2.538, allocations: 0.7216 MB / 0.8895 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/2.539, allocations: 76.98 kB / 0.8896 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/2.54, allocations: 1.163 MB / 0.8908 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004329/2.54, allocations: 59.17 kB / 0.8908 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.656e-05/2.54, allocations: 19.17 kB / 0.8908 GB, free: 6.684 MB / 0.7325 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.0003698/2.541, allocations: 274.5 kB / 0.8911 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/2.541, allocations: 90.88 kB / 0.8912 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/2.542, allocations: 0.8934 MB / 0.8921 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/2.542, allocations: 0 / 0.8921 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/2.542, allocations: 0 / 0.8921 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/2.542, allocations: 9.188 kB / 0.8921 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00219/2.545, allocations: 1.571 MB / 0.8936 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/2.545, allocations: 0 / 0.8936 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/2.545, allocations: 38.97 kB / 0.8936 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002936/2.548, allocations: 0.5678 MB / 0.8942 GB, free: 3.781 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/2.548, allocations: 18.98 kB / 0.8942 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/2.549, allocations: 1.174 MB / 0.8954 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/2.549, allocations: 3.938 kB / 0.8954 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/2.55, allocations: 0.9231 MB / 0.8963 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00021/2.551, allocations: 174.6 kB / 0.8964 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.876e-05/2.551, allocations: 15.17 kB / 0.8964 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002806/2.551, allocations: 19.61 kB / 0.8965 GB, free: 1.754 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/2.551, allocations: 19.34 kB / 0.8965 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/2.551, allocations: 11.56 kB / 0.8965 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007059/2.552, allocations: 0.6104 MB / 0.8971 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.91e-07/2.552, allocations: 0 / 0.8971 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003824/2.556, allocations: 1.325 MB / 0.8984 GB, free: 12 kB / 0.7325 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.00944/2.565, allocations: 3.374 MB / 0.9017 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001256/2.566, allocations: 0.6384 MB / 0.9023 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/2.566, allocations: 0 / 0.9023 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005937/2.567, allocations: 335 kB / 0.9026 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006231/2.568, allocations: 98.56 kB / 0.9027 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/2.581, allocations: 8.536 MB / 0.911 GB, free: 4.684 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005454/2.581, allocations: 0.9973 MB / 0.912 GB, free: 3.68 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002183/2.581, allocations: 51.2 kB / 0.9121 GB, free: 3.633 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/2.582, allocations: 302.7 kB / 0.9124 GB, free: 3.578 MB / 0.7481 GB Notification: Performance of SimCode: time 4.5e-07/2.582, allocations: 0 / 0.9124 GB, free: 3.578 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07842/2.66, allocations: 54.85 MB / 0.9659 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/2.66, allocations: 329.7 kB / 0.9662 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.37/7.03, allocations: 3.094 kB / 0.9662 GB, free: 12.73 MB / 0.8106 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestCentrifugalPump_Scenario_1_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_Book_SimpleExamples_CentrifugalPump_TestCentrifugalPump_Scenario_1.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.CentrifugalPump.TestCentrifugalPump.Scenario_1.pipe 2>&1)