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.7817/0.7817, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.22e-05/1.221e-05, allocations: 0 / 204.9 MB, free: 9.961 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1701, allocations: 31.98 MB / 236.9 MB, free: 5.426 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. 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.467/1.637, allocations: 295.6 MB / 0.5199 GB, free: 12.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.445/2.082, allocations: 193.1 MB / 0.7085 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003277/2.083, allocations: 7.906 kB / 0.7085 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/2.083, allocations: 53.31 kB / 0.7085 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004485/2.083, allocations: 201.1 kB / 0.7087 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02506/2.108, allocations: 10.57 MB / 0.719 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000883/2.109, allocations: 0.7815 MB / 0.7198 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003909/2.11, allocations: 361.8 kB / 0.7202 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003257/2.11, allocations: 292.8 kB / 0.7204 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003276/2.11, allocations: 331.3 kB / 0.7207 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.165e-05/2.11, allocations: 30.25 kB / 0.7208 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03341/2.144, allocations: 22.68 MB / 0.7429 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002906/2.144, allocations: 230.7 kB / 0.7431 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000436/2.144, allocations: 458.1 kB / 0.7436 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02471/2.169, allocations: 11.98 MB / 0.7553 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/2.169, allocations: 0 / 0.7553 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.595e-06/2.169, allocations: 0 / 0.7553 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.203e-05/2.169, allocations: 2.906 kB / 0.7553 GB, free: 13.35 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.006028/2.175, allocations: 2.606 MB / 0.7578 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/2.175, allocations: 8.344 kB / 0.7578 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/2.175, allocations: 107.8 kB / 0.7579 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/2.176, allocations: 129.8 kB / 0.7581 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005391/2.176, allocations: 0.5617 MB / 0.7586 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.639e-05/2.176, allocations: 52.38 kB / 0.7587 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.2e-05/2.176, allocations: 62.84 kB / 0.7587 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/2.177, allocations: 0.8616 MB / 0.7596 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/2.177, allocations: 2.844 kB / 0.7596 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.815e-05/2.177, allocations: 26.81 kB / 0.7596 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/2.177, allocations: 14.47 kB / 0.7596 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/2.179, allocations: 0.9192 MB / 0.7605 GB, free: 10.67 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.009251/2.188, allocations: 8.116 MB / 0.7684 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/2.189, allocations: 0.9785 MB / 0.7694 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004453/2.19, allocations: 337.2 kB / 0.7697 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5861/2.776, allocations: 223.9 MB / 0.9883 GB, free: 448.6 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/2.776, allocations: 41.47 kB / 0.9884 GB, free: 448.6 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=40): time 1.873e-06/2.776, allocations: 1.125 kB / 0.9884 GB, free: 448.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=40): time 0.003993/2.78, allocations: 1.663 MB / 0.99 GB, free: 448.4 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/2.78, allocations: 54.91 kB / 0.99 GB, free: 448.3 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009539/2.781, allocations: 0.9699 MB / 0.991 GB, free: 448.2 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/2.781, allocations: 29.58 kB / 0.991 GB, free: 448.2 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000289/2.781, allocations: 0.5188 MB / 0.9915 GB, free: 448 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.2e-05/2.781, allocations: 147.8 kB / 0.9917 GB, free: 447.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.192e-05/2.781, allocations: 58.17 kB / 0.9917 GB, free: 447.9 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 4.253e-05/2.781, allocations: 326.2 kB / 0.992 GB, free: 447.6 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004474/2.782, allocations: 327.3 kB / 0.9923 GB, free: 447.6 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004805/2.782, allocations: 445.3 kB / 0.9928 GB, free: 447.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009055/2.783, allocations: 0.7729 MB / 0.9935 GB, free: 447.4 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/2.783, allocations: 3.75 kB / 0.9935 GB, free: 447.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001608/2.785, allocations: 1.131 MB / 0.9946 GB, free: 447.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/2.785, allocations: 6.688 kB / 0.9946 GB, free: 447.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/2.785, allocations: 10.62 kB / 0.9946 GB, free: 447.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005931/2.791, allocations: 1.104 MB / 0.9957 GB, free: 447.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/2.791, allocations: 90.69 kB / 0.9958 GB, free: 447.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/2.793, allocations: 1.309 MB / 0.9971 GB, free: 446.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004474/2.793, allocations: 78.09 kB / 0.9972 GB, free: 446.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/2.793, allocations: 25.75 kB / 0.9972 GB, free: 446.7 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.0003081/2.793, allocations: 280.5 kB / 0.9975 GB, free: 446.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.286e-05/2.793, allocations: 108.1 kB / 0.9976 GB, free: 446.5 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/2.795, allocations: 1.097 MB / 0.9986 GB, free: 446.4 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/2.795, allocations: 3.969 kB / 0.9986 GB, free: 446.4 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/2.795, allocations: 2.938 kB / 0.9986 GB, free: 446.4 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/2.795, allocations: 2.906 kB / 0.9986 GB, free: 446.4 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/2.797, allocations: 1.867 MB / 1 GB, free: 446.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/2.797, allocations: 5.719 kB / 1 GB, free: 446.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002782/2.798, allocations: 61.3 kB / 1.001 GB, free: 446.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002674/2.8, allocations: 0.6107 MB / 1.001 GB, free: 446.1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/2.8, allocations: 8.688 kB / 1.001 GB, free: 446.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009899/2.801, allocations: 1.211 MB / 1.002 GB, free: 445.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/2.801, allocations: 0.8125 kB / 1.002 GB, free: 445.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/2.803, allocations: 1.523 MB / 1.004 GB, free: 445.3 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/2.803, allocations: 208.1 kB / 1.004 GB, free: 445.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.552e-05/2.804, allocations: 14.81 kB / 1.004 GB, free: 445.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/2.804, allocations: 31.98 kB / 1.004 GB, free: 445.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/2.804, allocations: 31.47 kB / 1.004 GB, free: 445.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/2.804, allocations: 14.67 kB / 1.004 GB, free: 445.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005936/2.805, allocations: 0.6588 MB / 1.005 GB, free: 445 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/2.805, allocations: 0 / 1.005 GB, free: 445 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00408/2.809, allocations: 1.929 MB / 1.007 GB, free: 444.9 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.008611/2.817, allocations: 4.878 MB / 1.011 GB, free: 444.1 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001261/2.819, allocations: 0.7845 MB / 1.012 GB, free: 444 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/2.819, allocations: 0 / 1.012 GB, free: 444 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005549/2.819, allocations: 402.4 kB / 1.013 GB, free: 444 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006313/2.82, allocations: 114.6 kB / 1.013 GB, free: 444 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/2.831, allocations: 9.9 MB / 1.022 GB, free: 440.4 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/2.832, allocations: 1.055 MB / 1.023 GB, free: 439.7 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002992/2.832, allocations: 81.23 kB / 1.023 GB, free: 439.7 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003132/2.832, allocations: 362.6 kB / 1.024 GB, free: 439.7 MB / 0.8106 GB Notification: Performance of SimCode: time 7.11e-07/2.832, allocations: 0 / 1.024 GB, free: 439.7 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.894/5.726, allocations: 68.53 MB / 1.091 GB, free: 376.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/5.727, allocations: 331.2 kB / 1.091 GB, free: 376 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.001/10.73, allocations: 0 / 1.091 GB, free: 376 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)