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.8299/0.8299, allocations: 150.9 MB / 166.5 MB, free: 14.37 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.0003099, allocations: 18.28 kB / 237.1 MB, free: 1.773 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05253/0.05285, allocations: 31.35 MB / 268.4 MB, free: 7.027 MB / 222.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.607/1.659, allocations: 294.9 MB / 0.5501 GB, free: 13.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03885/1.698, allocations: 34.44 MB / 0.5837 GB, free: 10.54 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/1.699, allocations: 0 / 0.5837 GB, free: 10.54 MB / 478.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.0003809/1.699, allocations: 131.2 kB / 0.5839 GB, free: 10.41 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002628/1.699, allocations: 127.1 kB / 0.584 GB, free: 10.29 MB / 478.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.02243/1.722, allocations: 9.76 MB / 0.5935 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005011/1.722, allocations: 406.2 kB / 0.5939 GB, free: 112 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/1.722, allocations: 136.5 kB / 0.594 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/1.723, allocations: 159.2 kB / 0.5942 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/1.723, allocations: 143.3 kB / 0.5943 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/1.723, allocations: 24 kB / 0.5943 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02884/1.752, allocations: 17.89 MB / 0.6118 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.218e-05/1.752, allocations: 55.77 kB / 0.6119 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002001/1.752, allocations: 155.2 kB / 0.612 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0171/1.769, allocations: 8.445 MB / 0.6203 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/1.769, allocations: 7.938 kB / 0.6203 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/1.769, allocations: 0 / 0.6203 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.538e-05/1.769, allocations: 0 / 0.6203 GB, free: 5.066 MB / 0.4981 GB 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.004044/1.773, allocations: 1.483 MB / 0.6217 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/1.773, allocations: 12.03 kB / 0.6217 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.703e-05/1.773, allocations: 43.45 kB / 0.6218 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/1.774, allocations: 250.4 kB / 0.622 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/1.774, allocations: 16.56 kB / 0.622 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/1.774, allocations: 20 kB / 0.622 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/1.774, allocations: 340.2 kB / 0.6224 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/1.774, allocations: 0 / 0.6224 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.332e-05/1.774, allocations: 8 kB / 0.6224 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/1.774, allocations: 19.92 kB / 0.6224 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004076/1.775, allocations: 227 kB / 0.6226 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0385/1.813, allocations: 18.12 MB / 0.6403 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004701/1.814, allocations: 202.5 kB / 0.6405 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001938/1.814, allocations: 116.8 kB / 0.6406 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3297/2.144, allocations: 77.73 MB / 0.7165 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/2.144, allocations: 36.41 kB / 0.7166 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=41): time 2.424e-06/2.144, allocations: 0 / 0.7166 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=41): time 0.004215/2.148, allocations: 0.9421 MB / 0.7175 GB, free: 208 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/2.148, allocations: 52.81 kB / 0.7175 GB, free: 207.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/2.148, allocations: 250.2 kB / 0.7178 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/2.148, allocations: 28.42 kB / 0.7178 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.006e-05/2.148, allocations: 153.1 kB / 0.7179 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.208e-05/2.148, allocations: 135.5 kB / 0.7181 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.749e-05/2.148, allocations: 63.5 kB / 0.7181 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.411e-05/2.149, allocations: 349.2 kB / 0.7185 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/2.149, allocations: 94.95 kB / 0.7185 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/2.149, allocations: 151.1 kB / 0.7187 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/2.149, allocations: 270.8 kB / 0.7189 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/2.149, allocations: 1.375 kB / 0.719 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00237/2.152, allocations: 0.6056 MB / 0.7195 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/2.152, allocations: 12.03 kB / 0.7196 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/2.152, allocations: 0.6562 kB / 0.7196 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007847/2.153, allocations: 219 kB / 0.7198 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.748e-05/2.153, allocations: 16.39 kB / 0.7198 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007386/2.153, allocations: 0.7374 MB / 0.7205 GB, free: 206.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/2.154, allocations: 35.47 kB / 0.7205 GB, free: 206.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/2.154, allocations: 10.75 kB / 0.7205 GB, free: 206.6 MB / 0.5919 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.0001096/2.154, allocations: 141 kB / 0.7207 GB, free: 206.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.107e-05/2.154, allocations: 32.14 kB / 0.7207 GB, free: 206.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008788/2.155, allocations: 0.7809 MB / 0.7215 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000472/2.155, allocations: 294.4 kB / 0.7218 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/2.155, allocations: 1.062 kB / 0.7218 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/2.155, allocations: 3.328 kB / 0.7218 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/2.156, allocations: 0.8811 MB / 0.7226 GB, free: 205.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/2.156, allocations: 0 / 0.7226 GB, free: 205.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.561e-05/2.156, allocations: 25.84 kB / 0.7226 GB, free: 205.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006658/2.157, allocations: 195.3 kB / 0.7228 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/2.157, allocations: 6.875 kB / 0.7228 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000711/2.158, allocations: 0.7652 MB / 0.7236 GB, free: 205.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/2.158, allocations: 2.406 kB / 0.7236 GB, free: 205.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005732/2.158, allocations: 431 kB / 0.724 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.421e-05/2.158, allocations: 120.1 kB / 0.7241 GB, free: 205 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/2.159, allocations: 14.78 kB / 0.7241 GB, free: 205 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/2.159, allocations: 7.469 kB / 0.7241 GB, free: 205 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/2.159, allocations: 16.27 kB / 0.7241 GB, free: 205 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/2.159, allocations: 4.562 kB / 0.7241 GB, free: 205 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002635/2.159, allocations: 259.6 kB / 0.7244 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/2.159, allocations: 1.5 kB / 0.7244 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003176/2.162, allocations: 1.185 MB / 0.7256 GB, free: 204.9 MB / 0.5919 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.004292/2.167, allocations: 1.72 MB / 0.7272 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007383/2.167, allocations: 334.6 kB / 0.7276 GB, free: 204.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/2.167, allocations: 0 / 0.7276 GB, free: 204.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003246/2.168, allocations: 139.2 kB / 0.7277 GB, free: 204.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007376/2.168, allocations: 128.8 kB / 0.7278 GB, free: 204.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/2.169, allocations: 0.5969 MB / 0.7284 GB, free: 204.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/2.17, allocations: 0.7816 MB / 0.7292 GB, free: 203.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.648e-05/2.17, allocations: 24.25 kB / 0.7292 GB, free: 203.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/2.17, allocations: 21.59 kB / 0.7292 GB, free: 203.8 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/2.17, allocations: 0 / 0.7292 GB, free: 203.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.0429/2.213, allocations: 43.32 MB / 0.7715 GB, free: 176.6 MB / 0.5919 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)