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.7745/0.7745, allocations: 150.9 MB / 166.7 MB, free: 14.63 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003034, allocations: 15.97 kB / 204.8 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1465, allocations: 31.33 MB / 236.1 MB, free: 5.422 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.547/1.694, allocations: 293.7 MB / 0.5174 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03468/1.729, allocations: 34.66 MB / 0.5513 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001792/1.729, allocations: 4 kB / 0.5513 GB, free: 11.12 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.0003345/1.729, allocations: 87.62 kB / 0.5513 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001781/1.729, allocations: 87.3 kB / 0.5514 GB, free: 10.95 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.02186/1.751, allocations: 8.416 MB / 0.5596 GB, free: 2.531 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004996/1.752, allocations: 394.3 kB / 0.56 GB, free: 2.145 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/1.752, allocations: 129.7 kB / 0.5601 GB, free: 2.023 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/1.752, allocations: 163.3 kB / 0.5603 GB, free: 1.863 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/1.752, allocations: 143.3 kB / 0.5604 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/1.752, allocations: 23.94 kB / 0.5605 GB, free: 1.699 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02649/1.779, allocations: 17.74 MB / 0.5778 GB, free: 15.94 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/1.779, allocations: 55.77 kB / 0.5778 GB, free: 15.88 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002354/1.779, allocations: 159.1 kB / 0.578 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009889/1.789, allocations: 5.735 MB / 0.5836 GB, free: 9.977 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/1.789, allocations: 3.984 kB / 0.5836 GB, free: 9.973 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.383e-06/1.789, allocations: 0 / 0.5836 GB, free: 9.973 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/1.789, allocations: 4 kB / 0.5836 GB, free: 9.969 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.003978/1.793, allocations: 1.478 MB / 0.585 GB, free: 8.441 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/1.793, allocations: 8.031 kB / 0.585 GB, free: 8.434 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.716e-05/1.793, allocations: 35.56 kB / 0.5851 GB, free: 8.398 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/1.794, allocations: 251.4 kB / 0.5853 GB, free: 8.113 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/1.794, allocations: 20.56 kB / 0.5853 GB, free: 8.09 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/1.794, allocations: 24 kB / 0.5854 GB, free: 8.066 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004884/1.794, allocations: 333.1 kB / 0.5857 GB, free: 7.715 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/1.794, allocations: 0 / 0.5857 GB, free: 7.715 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/1.794, allocations: 8 kB / 0.5857 GB, free: 7.707 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/1.794, allocations: 15.98 kB / 0.5857 GB, free: 7.691 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003545/1.795, allocations: 221.2 kB / 0.5859 GB, free: 7.477 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03422/1.829, allocations: 18.02 MB / 0.6035 GB, free: 3.605 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004279/1.829, allocations: 204 kB / 0.6037 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/1.829, allocations: 124.8 kB / 0.6038 GB, free: 3.273 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1416/1.971, allocations: 77.27 MB / 0.6793 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/1.971, allocations: 42.5 kB / 0.6793 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 2.044e-06/1.971, allocations: 0 / 0.6793 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=41): time 0.00407/1.975, allocations: 0.9367 MB / 0.6802 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/1.975, allocations: 63.41 kB / 0.6803 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/1.976, allocations: 238.6 kB / 0.6805 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/1.976, allocations: 29.7 kB / 0.6806 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.589e-05/1.976, allocations: 164.5 kB / 0.6807 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.294e-05/1.976, allocations: 130 kB / 0.6808 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.91e-05/1.976, allocations: 61.59 kB / 0.6809 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000108/1.976, allocations: 342.7 kB / 0.6812 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/1.976, allocations: 100.4 kB / 0.6813 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/1.976, allocations: 151.6 kB / 0.6815 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/1.977, allocations: 270 kB / 0.6817 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.977, allocations: 0 / 0.6817 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002374/1.979, allocations: 0.6059 MB / 0.6823 GB, free: 10 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/1.979, allocations: 7.984 kB / 0.6823 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/1.979, allocations: 7.938 kB / 0.6823 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007937/1.98, allocations: 229.3 kB / 0.6825 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.372e-05/1.98, allocations: 19.98 kB / 0.6826 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007785/1.981, allocations: 0.7317 MB / 0.6833 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/1.981, allocations: 39.62 kB / 0.6833 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/1.981, allocations: 8 kB / 0.6833 GB, free: 8.938 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.0001309/1.981, allocations: 145.8 kB / 0.6835 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/1.981, allocations: 19.72 kB / 0.6835 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009035/1.982, allocations: 0.791 MB / 0.6843 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004489/1.983, allocations: 290.5 kB / 0.6845 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/1.983, allocations: 7.938 kB / 0.6845 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/1.983, allocations: 3.984 kB / 0.6845 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/1.984, allocations: 0.8805 MB / 0.6854 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/1.984, allocations: 0 / 0.6854 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.585e-05/1.984, allocations: 23.94 kB / 0.6854 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006346/1.985, allocations: 198.9 kB / 0.6856 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/1.985, allocations: 96 / 0.6856 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007251/1.985, allocations: 0.7656 MB / 0.6864 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/1.985, allocations: 4 kB / 0.6864 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005819/1.986, allocations: 427.8 kB / 0.6868 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/1.986, allocations: 116.7 kB / 0.6869 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.425e-05/1.986, allocations: 15.84 kB / 0.6869 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/1.986, allocations: 7.984 kB / 0.6869 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/1.986, allocations: 19.92 kB / 0.6869 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/1.986, allocations: 8 kB / 0.6869 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002365/1.987, allocations: 255 kB / 0.6872 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/1.987, allocations: 0 / 0.6872 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002834/1.989, allocations: 1.187 MB / 0.6883 GB, free: 3.586 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.005483/1.995, allocations: 1.787 MB / 0.6901 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007926/1.996, allocations: 329.8 kB / 0.6904 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.996, allocations: 256 / 0.6904 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003425/1.996, allocations: 151.8 kB / 0.6905 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007484/1.997, allocations: 123.5 kB / 0.6907 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/1.998, allocations: 0.7447 MB / 0.6914 GB, free: 440 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1526/2.151, allocations: 0.7743 MB / 0.6921 GB, free: 225 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.622e-05/2.151, allocations: 22.47 kB / 0.6922 GB, free: 225 MB / 0.5762 GB Notification: Performance of SimCode: time 1.022e-06/2.151, allocations: 0 / 0.6922 GB, free: 225 MB / 0.5762 GB Notification: Performance of Templates: time 0.03522/2.186, allocations: 25.41 MB / 0.717 GB, free: 218.9 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)