Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.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.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7379/0.7379, allocations: 150.8 MB / 166.1 MB, free: 15.48 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.363e-05/1.365e-05, allocations: 4 kB / 204.8 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1339, allocations: 31.98 MB / 236.8 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.Examples.SimpleExamples.TestStaticCentrifugalPump1): time 1.433/1.567, allocations: 293.7 MB / 0.518 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03846/1.606, allocations: 37 MB / 0.5542 GB, free: 8.238 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/1.606, allocations: 4 kB / 0.5542 GB, free: 8.234 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002836/1.606, allocations: 83.48 kB / 0.5542 GB, free: 8.152 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002368/1.606, allocations: 95.28 kB / 0.5543 GB, free: 8.059 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01844/1.625, allocations: 7.318 MB / 0.5615 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004785/1.625, allocations: 378.3 kB / 0.5618 GB, free: 376 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/1.626, allocations: 114 kB / 0.562 GB, free: 264 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/1.626, allocations: 143.2 kB / 0.5621 GB, free: 120 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/1.626, allocations: 115.4 kB / 0.5622 GB, free: 4 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/1.626, allocations: 16.05 kB / 0.5622 GB, free: 15.98 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02707/1.653, allocations: 17.8 MB / 0.5796 GB, free: 14.17 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.608e-05/1.653, allocations: 43.72 kB / 0.5796 GB, free: 14.12 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/1.653, allocations: 168.9 kB / 0.5798 GB, free: 13.95 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01519/1.669, allocations: 8.37 MB / 0.588 GB, free: 5.562 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.669, allocations: 4 kB / 0.588 GB, free: 5.559 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.673e-06/1.669, allocations: 0 / 0.588 GB, free: 5.559 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/1.669, allocations: 4 kB / 0.588 GB, free: 5.555 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.003586/1.672, allocations: 1.435 MB / 0.5894 GB, free: 4.07 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/1.672, allocations: 8.031 kB / 0.5894 GB, free: 4.062 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.837e-05/1.672, allocations: 35.56 kB / 0.5894 GB, free: 4.027 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/1.673, allocations: 251.4 kB / 0.5897 GB, free: 3.742 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/1.673, allocations: 16.56 kB / 0.5897 GB, free: 3.727 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/1.673, allocations: 20 kB / 0.5897 GB, free: 3.707 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004998/1.673, allocations: 345.7 kB / 0.59 GB, free: 3.344 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/1.673, allocations: 0 / 0.59 GB, free: 3.344 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/1.673, allocations: 4 kB / 0.59 GB, free: 3.34 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/1.673, allocations: 12 kB / 0.59 GB, free: 3.328 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003771/1.674, allocations: 229.1 kB / 0.5903 GB, free: 3.105 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03472/1.708, allocations: 18.14 MB / 0.608 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004455/1.709, allocations: 205.4 kB / 0.6082 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/1.709, allocations: 120.8 kB / 0.6083 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1416/1.851, allocations: 77.94 MB / 0.6844 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/1.851, allocations: 34.56 kB / 0.6844 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 1.924e-06/1.851, allocations: 0 / 0.6844 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of matching and sorting (n=41): time 0.004201/1.855, allocations: 1.089 MB / 0.6855 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/1.855, allocations: 55.41 kB / 0.6856 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/1.855, allocations: 254.5 kB / 0.6858 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/1.855, allocations: 33.64 kB / 0.6858 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.322e-05/1.855, allocations: 156.6 kB / 0.686 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.981e-05/1.855, allocations: 130 kB / 0.6861 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/1.855, allocations: 41.64 kB / 0.6861 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001003/1.855, allocations: 342.8 kB / 0.6865 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/1.856, allocations: 104.4 kB / 0.6866 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/1.856, allocations: 142.9 kB / 0.6867 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003723/1.856, allocations: 282 kB / 0.687 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.856, allocations: 0 / 0.687 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002351/1.859, allocations: 0.6919 MB / 0.6876 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/1.859, allocations: 5.875 kB / 0.6877 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/1.859, allocations: 4 kB / 0.6877 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007393/1.859, allocations: 232.6 kB / 0.6879 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.505e-05/1.859, allocations: 15.94 kB / 0.6879 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007514/1.86, allocations: 0.7485 MB / 0.6886 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/1.86, allocations: 35.59 kB / 0.6887 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/1.86, allocations: 8.031 kB / 0.6887 GB, free: 3.559 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (sinkP.C.a,sourceP.C.b,StaticCentrifugalPump1.C2.b,StaticCentrifugalPump1.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(4,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001212/1.861, allocations: 149.7 kB / 0.6888 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/1.861, allocations: 35.62 kB / 0.6888 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009025/1.862, allocations: 0.7872 MB / 0.6896 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004511/1.862, allocations: 303.3 kB / 0.6899 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.862, allocations: 4 kB / 0.6899 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/1.862, allocations: 7.922 kB / 0.6899 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/1.863, allocations: 0.8655 MB / 0.6908 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.863, allocations: 0 / 0.6908 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.351e-05/1.863, allocations: 23.98 kB / 0.6908 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006529/1.864, allocations: 244.3 kB / 0.691 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/1.864, allocations: 8 kB / 0.691 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006939/1.865, allocations: 0.7638 MB / 0.6918 GB, free: 212 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.865, allocations: 4 kB / 0.6918 GB, free: 208 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1497/2.014, allocations: 429.4 kB / 0.6922 GB, free: 228.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/2.014, allocations: 150.6 kB / 0.6923 GB, free: 228.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/2.014, allocations: 3.875 kB / 0.6923 GB, free: 228.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/2.015, allocations: 9.078 kB / 0.6923 GB, free: 228.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/2.015, allocations: 13.19 kB / 0.6924 GB, free: 228.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/2.015, allocations: 10.31 kB / 0.6924 GB, free: 228.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002109/2.015, allocations: 253.8 kB / 0.6926 GB, free: 228.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/2.015, allocations: 0.6562 kB / 0.6926 GB, free: 228.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002559/2.017, allocations: 1.193 MB / 0.6938 GB, free: 228.6 MB / 0.5762 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 (13): * Single equations (assignments): 12 * 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 {(4,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003948/2.021, allocations: 1.757 MB / 0.6955 GB, free: 228.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006635/2.022, allocations: 322.1 kB / 0.6958 GB, free: 228.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/2.022, allocations: 0 / 0.6958 GB, free: 228.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000323/2.022, allocations: 150.5 kB / 0.6959 GB, free: 228.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007523/2.023, allocations: 123.8 kB / 0.6961 GB, free: 228.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009386/2.024, allocations: 0.7538 MB / 0.6968 GB, free: 228 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/2.024, allocations: 0.7793 MB / 0.6976 GB, free: 227.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.153e-05/2.024, allocations: 26.44 kB / 0.6976 GB, free: 227.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/2.024, allocations: 22.25 kB / 0.6976 GB, free: 227.3 MB / 0.5762 GB Notification: Performance of SimCode: time 2.31e-07/2.024, allocations: 0 / 0.6976 GB, free: 227.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.04205/2.067, allocations: 42.69 MB / 0.7393 GB, free: 205.3 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.pipe 2>&1) Environment - environmentSimulation: