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.7614/0.7614, allocations: 150.9 MB / 167 MB, free: 14.57 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003144, allocations: 19.98 kB / 205.2 MB, free: 9.742 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1193, allocations: 31.33 MB / 236.5 MB, free: 5.406 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.418/1.538, allocations: 294.8 MB / 0.5189 GB, free: 13.28 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03684/1.574, allocations: 34.44 MB / 0.5525 GB, free: 10.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002256/1.575, allocations: 8 kB / 0.5525 GB, free: 10.95 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.0003721/1.575, allocations: 108.4 kB / 0.5526 GB, free: 10.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002554/1.575, allocations: 103.1 kB / 0.5527 GB, free: 10.75 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.02321/1.599, allocations: 9.592 MB / 0.5621 GB, free: 1.152 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00051/1.599, allocations: 398.2 kB / 0.5625 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/1.599, allocations: 126.4 kB / 0.5626 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002452/1.6, allocations: 163.3 kB / 0.5628 GB, free: 492 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/1.6, allocations: 143.3 kB / 0.5629 GB, free: 348 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.173e-05/1.6, allocations: 24 kB / 0.5629 GB, free: 324 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02826/1.628, allocations: 17.66 MB / 0.5802 GB, free: 14.64 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.691e-05/1.628, allocations: 55.77 kB / 0.5802 GB, free: 14.58 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001964/1.628, allocations: 163.2 kB / 0.5804 GB, free: 14.42 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0165/1.645, allocations: 8.457 MB / 0.5886 GB, free: 5.945 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.645, allocations: 4 kB / 0.5886 GB, free: 5.941 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.913e-06/1.645, allocations: 0 / 0.5886 GB, free: 5.941 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/1.645, allocations: 0 / 0.5886 GB, free: 5.941 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.003569/1.649, allocations: 1.478 MB / 0.5901 GB, free: 4.414 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.649, allocations: 12.03 kB / 0.5901 GB, free: 4.402 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.756e-05/1.649, allocations: 39.5 kB / 0.5901 GB, free: 4.363 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/1.649, allocations: 254.3 kB / 0.5904 GB, free: 4.074 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/1.649, allocations: 16.56 kB / 0.5904 GB, free: 4.059 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/1.649, allocations: 24 kB / 0.5904 GB, free: 4.035 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004623/1.65, allocations: 332.2 kB / 0.5907 GB, free: 3.68 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/1.65, allocations: 0 / 0.5907 GB, free: 3.68 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/1.65, allocations: 12 kB / 0.5907 GB, free: 3.668 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/1.65, allocations: 13.3 kB / 0.5907 GB, free: 3.656 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003718/1.65, allocations: 225.1 kB / 0.591 GB, free: 3.438 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03686/1.687, allocations: 18 MB / 0.6085 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004343/1.687, allocations: 206.5 kB / 0.6087 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/1.688, allocations: 130.3 kB / 0.6089 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1553/1.843, allocations: 77.27 MB / 0.6843 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/1.843, allocations: 38.5 kB / 0.6844 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 2.405e-06/1.843, allocations: 4 kB / 0.6844 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of matching and sorting (n=41): time 0.004145/1.847, allocations: 0.9407 MB / 0.6853 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/1.847, allocations: 51.41 kB / 0.6853 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/1.847, allocations: 250.6 kB / 0.6856 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/1.847, allocations: 25.7 kB / 0.6856 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.518e-05/1.847, allocations: 160.5 kB / 0.6857 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.623e-05/1.848, allocations: 137.9 kB / 0.6859 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.357e-05/1.848, allocations: 57.59 kB / 0.6859 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.848, allocations: 346.8 kB / 0.6863 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/1.848, allocations: 96.39 kB / 0.6864 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/1.848, allocations: 146.8 kB / 0.6865 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003978/1.849, allocations: 274 kB / 0.6868 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.849, allocations: 0 / 0.6868 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002366/1.851, allocations: 0.6137 MB / 0.6874 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/1.851, allocations: 8 kB / 0.6874 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/1.851, allocations: 3.938 kB / 0.6874 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007959/1.852, allocations: 218.5 kB / 0.6876 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.233e-05/1.852, allocations: 19.98 kB / 0.6876 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007859/1.853, allocations: 0.7416 MB / 0.6883 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/1.853, allocations: 31.58 kB / 0.6883 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/1.853, allocations: 18.56 kB / 0.6884 GB, free: 4.914 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.000148/1.853, allocations: 146.7 kB / 0.6885 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.577e-05/1.853, allocations: 23.72 kB / 0.6885 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009635/1.854, allocations: 0.7872 MB / 0.6893 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004626/1.855, allocations: 299.4 kB / 0.6896 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.855, allocations: 3.938 kB / 0.6896 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/1.855, allocations: 0 / 0.6896 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/1.856, allocations: 0.8733 MB / 0.6904 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/1.856, allocations: 4 kB / 0.6904 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.463e-05/1.856, allocations: 19.98 kB / 0.6905 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006522/1.857, allocations: 194.6 kB / 0.6906 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/1.857, allocations: 4 kB / 0.6907 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006992/1.857, allocations: 0.7687 MB / 0.6914 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/1.857, allocations: 0 / 0.6914 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005944/1.858, allocations: 427.7 kB / 0.6918 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/1.858, allocations: 116.7 kB / 0.6919 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/1.858, allocations: 19.84 kB / 0.6919 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/1.858, allocations: 8 kB / 0.6919 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/1.858, allocations: 7.984 kB / 0.692 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/1.858, allocations: 8 kB / 0.692 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002367/1.859, allocations: 259 kB / 0.6922 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/1.859, allocations: 0 / 0.6922 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.1321/1.991, allocations: 1.184 MB / 0.6934 GB, free: 226.2 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.004916/1.996, allocations: 1.726 MB / 0.6951 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007489/1.996, allocations: 331.4 kB / 0.6954 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.996, allocations: 3.75 kB / 0.6954 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003078/1.997, allocations: 149 kB / 0.6955 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.0007492/1.997, allocations: 125.4 kB / 0.6956 GB, free: 226.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009438/1.998, allocations: 0.6466 MB / 0.6963 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/1.999, allocations: 0.7839 MB / 0.697 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/1.999, allocations: 25.28 kB / 0.6971 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/1.999, allocations: 0 / 0.6971 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.02738/2.026, allocations: 25.41 MB / 0.7219 GB, free: 218.7 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)