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.7906/0.7906, allocations: 150.9 MB / 166 MB, free: 14.38 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003048, allocations: 19.97 kB / 204 MB, free: 9.934 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1458, allocations: 31.33 MB / 235.4 MB, free: 5.48 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.Examples.SimpleExamples.TestStaticCentrifugalPump1): time 1.528/1.673, allocations: 292.7 MB / 0.5157 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04435/1.718, allocations: 37.56 MB / 0.5524 GB, free: 8.359 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/1.718, allocations: 4 kB / 0.5524 GB, free: 8.355 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:60:3-62:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/StaticCentrifugalPump.mo:63:3-65:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003282/1.718, allocations: 87.48 kB / 0.5525 GB, free: 8.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/1.719, allocations: 91.3 kB / 0.5526 GB, free: 8.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01987/1.738, allocations: 7.166 MB / 0.5596 GB, free: 1.016 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005092/1.739, allocations: 374.3 kB / 0.5599 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/1.739, allocations: 130.7 kB / 0.5601 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/1.739, allocations: 147.2 kB / 0.5602 GB, free: 388 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/1.74, allocations: 131.3 kB / 0.5603 GB, free: 256 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/1.74, allocations: 12 kB / 0.5603 GB, free: 244 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02861/1.768, allocations: 17.73 MB / 0.5777 GB, free: 14.49 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.585e-05/1.768, allocations: 43.78 kB / 0.5777 GB, free: 14.45 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001991/1.769, allocations: 151.1 kB / 0.5778 GB, free: 14.3 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02079/1.789, allocations: 8.461 MB / 0.5861 GB, free: 5.816 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/1.789, allocations: 0 / 0.5861 GB, free: 5.816 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.884e-06/1.789, allocations: 3.938 kB / 0.5861 GB, free: 5.812 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/1.789, allocations: 0 / 0.5861 GB, free: 5.812 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.004298/1.794, allocations: 1.489 MB / 0.5876 GB, free: 4.273 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/1.794, allocations: 8.031 kB / 0.5876 GB, free: 4.266 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.402e-05/1.794, allocations: 39.55 kB / 0.5876 GB, free: 4.227 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/1.794, allocations: 255.4 kB / 0.5878 GB, free: 3.938 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/1.794, allocations: 20.56 kB / 0.5879 GB, free: 3.918 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/1.794, allocations: 16 kB / 0.5879 GB, free: 3.902 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004987/1.795, allocations: 332.2 kB / 0.5882 GB, free: 3.551 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/1.795, allocations: 8 kB / 0.5882 GB, free: 3.543 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/1.795, allocations: 8 kB / 0.5882 GB, free: 3.535 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/1.795, allocations: 11.98 kB / 0.5882 GB, free: 3.523 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003828/1.795, allocations: 221.8 kB / 0.5884 GB, free: 3.309 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03527/1.83, allocations: 18.01 MB / 0.606 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/1.831, allocations: 210.4 kB / 0.6062 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/1.831, allocations: 120.8 kB / 0.6063 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1409/1.972, allocations: 77.27 MB / 0.6818 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/1.972, allocations: 38.56 kB / 0.6818 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 1.953e-06/1.972, allocations: 4 kB / 0.6818 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of matching and sorting (n=41): time 0.004228/1.976, allocations: 0.9367 MB / 0.6828 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/1.976, allocations: 55.41 kB / 0.6828 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/1.977, allocations: 246.6 kB / 0.683 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/1.977, allocations: 29.7 kB / 0.6831 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.505e-05/1.977, allocations: 160.5 kB / 0.6832 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/1.977, allocations: 134 kB / 0.6834 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.381e-05/1.977, allocations: 61.59 kB / 0.6834 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001034/1.977, allocations: 342.8 kB / 0.6837 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/1.977, allocations: 100.4 kB / 0.6838 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/1.977, allocations: 146.9 kB / 0.684 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/1.978, allocations: 266 kB / 0.6842 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/1.978, allocations: 0 / 0.6842 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002377/1.98, allocations: 0.6137 MB / 0.6848 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/1.98, allocations: 7.938 kB / 0.6848 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.98, allocations: 11.92 kB / 0.6848 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007881/1.981, allocations: 225.5 kB / 0.6851 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.823e-05/1.981, allocations: 19.92 kB / 0.6851 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000796/1.982, allocations: 0.7412 MB / 0.6858 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/1.982, allocations: 31.69 kB / 0.6858 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/1.982, allocations: 5.031 kB / 0.6858 GB, free: 4.785 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.00014/1.982, allocations: 145.7 kB / 0.686 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.29e-05/1.982, allocations: 27.62 kB / 0.686 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009687/1.983, allocations: 0.795 MB / 0.6868 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004705/1.984, allocations: 294.4 kB / 0.6871 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/1.984, allocations: 11.94 kB / 0.6871 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.984, allocations: 0 / 0.6871 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/1.985, allocations: 0.868 MB / 0.6879 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.985, allocations: 0 / 0.6879 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.018e-05/1.985, allocations: 23.92 kB / 0.6879 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007086/1.986, allocations: 235.2 kB / 0.6882 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/1.986, allocations: 0 / 0.6882 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007611/1.987, allocations: 0.754 MB / 0.6889 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.185e-06/1.987, allocations: 4.031 kB / 0.6889 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006159/1.987, allocations: 431.7 kB / 0.6893 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/1.987, allocations: 124.6 kB / 0.6894 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/1.988, allocations: 11.91 kB / 0.6895 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/1.988, allocations: 8 kB / 0.6895 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/1.988, allocations: 11.97 kB / 0.6895 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/1.988, allocations: 8 kB / 0.6895 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002957/1.988, allocations: 263 kB / 0.6897 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.988, allocations: 0 / 0.6897 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.1601/2.148, allocations: 1.19 MB / 0.6909 GB, free: 226.3 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.0057/2.154, allocations: 1.778 MB / 0.6926 GB, free: 226.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008167/2.155, allocations: 311.2 kB / 0.6929 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/2.155, allocations: 0 / 0.6929 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003534/2.155, allocations: 154.9 kB / 0.6931 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008153/2.156, allocations: 121.9 kB / 0.6932 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/2.157, allocations: 0.7072 MB / 0.6939 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/2.157, allocations: 0.7789 MB / 0.6946 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001222/2.157, allocations: 25.55 kB / 0.6947 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.628e-05/2.157, allocations: 22.06 kB / 0.6947 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/2.157, allocations: 0 / 0.6947 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.0465/2.204, allocations: 43.23 MB / 0.7369 GB, free: 203.4 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile (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)