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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.5593/0.5593, allocations: 120.4 MB / 140.2 MB, free: 12.98 MB / 138.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 218 MB, free: 8.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.523e-05, allocations: 6.797 kB / 218 MB, free: 8.621 MB / 202.7 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1): time 0.9703/0.9704, allocations: 254.4 MB / 472.4 MB, free: 8.777 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2285/1.199, allocations: 30.52 MB / 0.4911 GB, free: 1.023 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/1.199, allocations: 2.938 kB / 0.4911 GB, free: 1.023 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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.0002855/1.199, allocations: 109.7 kB / 0.4912 GB, free: 1.023 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/1.199, allocations: 134.3 kB / 0.4913 GB, free: 1.02 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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 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 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 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 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.01736/1.217, allocations: 9.783 MB / 0.5009 GB, free: 15.32 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005059/1.217, allocations: 423.7 kB / 0.5013 GB, free: 15.08 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/1.217, allocations: 114.6 kB / 0.5014 GB, free: 15.02 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002979/1.218, allocations: 249.8 kB / 0.5016 GB, free: 14.87 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/1.218, allocations: 99.12 kB / 0.5017 GB, free: 14.82 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.239e-05/1.218, allocations: 21.66 kB / 0.5018 GB, free: 14.82 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02149/1.239, allocations: 16.77 MB / 0.5181 GB, free: 3.121 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.613e-05/1.239, allocations: 57.09 kB / 0.5182 GB, free: 3.07 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001773/1.24, allocations: 107.3 kB / 0.5183 GB, free: 2.973 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01439/1.254, allocations: 10.85 MB / 0.5289 GB, free: 8.617 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/1.254, allocations: 0 / 0.5289 GB, free: 8.617 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.402e-06/1.254, allocations: 0 / 0.5289 GB, free: 8.617 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.66e-06/1.254, allocations: 1.125 kB / 0.5289 GB, free: 8.617 MB / 474.7 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.002531/1.257, allocations: 1.462 MB / 0.5303 GB, free: 7.125 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/1.257, allocations: 8.031 kB / 0.5303 GB, free: 7.117 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.689e-05/1.257, allocations: 35.77 kB / 0.5304 GB, free: 7.082 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/1.257, allocations: 186.3 kB / 0.5305 GB, free: 6.875 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/1.257, allocations: 16.5 kB / 0.5305 GB, free: 6.859 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/1.257, allocations: 26.03 kB / 0.5306 GB, free: 6.836 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/1.257, allocations: 337.2 kB / 0.5309 GB, free: 6.48 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/1.257, allocations: 0 / 0.5309 GB, free: 6.48 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/1.257, allocations: 11.94 kB / 0.5309 GB, free: 6.469 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/1.257, allocations: 15.98 kB / 0.5309 GB, free: 6.453 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/1.258, allocations: 226.3 kB / 0.5311 GB, free: 6.23 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01829/1.276, allocations: 10.84 MB / 0.5417 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/1.276, allocations: 171.5 kB / 0.5419 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/1.276, allocations: 101.4 kB / 0.542 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07204/1.348, allocations: 43.57 MB / 0.5845 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/1.348, allocations: 34.56 kB / 0.5846 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=41): time 1.913e-06/1.348, allocations: 0 / 0.5846 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=41): time 0.002377/1.351, allocations: 0.86 MB / 0.5854 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/1.351, allocations: 55.41 kB / 0.5855 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/1.351, allocations: 195.8 kB / 0.5856 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/1.351, allocations: 30.45 kB / 0.5857 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.497e-05/1.351, allocations: 174.6 kB / 0.5858 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.607e-05/1.351, allocations: 136.8 kB / 0.586 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.995e-05/1.351, allocations: 61.62 kB / 0.586 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.053e-05/1.351, allocations: 334.8 kB / 0.5864 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/1.351, allocations: 100.5 kB / 0.5864 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/1.352, allocations: 148.3 kB / 0.5866 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/1.352, allocations: 281.4 kB / 0.5869 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.352, allocations: 0.75 kB / 0.5869 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001286/1.353, allocations: 0.5875 MB / 0.5874 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.353, allocations: 13.66 kB / 0.5874 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/1.353, allocations: 0 / 0.5874 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004871/1.354, allocations: 227.7 kB / 0.5877 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.994e-05/1.354, allocations: 19.98 kB / 0.5877 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005902/1.354, allocations: 0.7328 MB / 0.5884 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.585e-05/1.354, allocations: 32.58 kB / 0.5884 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/1.354, allocations: 8.562 kB / 0.5884 GB, free: 11.5 MB / 0.5261 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.0001095/1.355, allocations: 146.4 kB / 0.5886 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/1.355, allocations: 23.86 kB / 0.5886 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006918/1.355, allocations: 0.7759 MB / 0.5894 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003023/1.356, allocations: 290.9 kB / 0.5896 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/1.356, allocations: 4.438 kB / 0.5896 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/1.356, allocations: 0.8438 kB / 0.5896 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007684/1.356, allocations: 0.7535 MB / 0.5904 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/1.356, allocations: 5.375 kB / 0.5904 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.151e-05/1.356, allocations: 23.92 kB / 0.5904 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003653/1.357, allocations: 194.6 kB / 0.5906 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/1.357, allocations: 7.984 kB / 0.5906 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004996/1.357, allocations: 0.7647 MB / 0.5913 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.357, allocations: 0.7031 kB / 0.5913 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/1.358, allocations: 416.7 kB / 0.5917 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/1.358, allocations: 40.61 kB / 0.5918 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/1.358, allocations: 15.83 kB / 0.5918 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.941e-05/1.358, allocations: 11.94 kB / 0.5918 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/1.358, allocations: 13.16 kB / 0.5918 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/1.358, allocations: 8 kB / 0.5918 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001547/1.358, allocations: 217.2 kB / 0.592 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/1.358, allocations: 1.781 kB / 0.592 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002011/1.36, allocations: 1.22 MB / 0.5932 GB, free: 6.422 MB / 0.5261 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.003191/1.363, allocations: 1.899 MB / 0.5951 GB, free: 4.746 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004577/1.364, allocations: 301.9 kB / 0.5954 GB, free: 4.445 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/1.364, allocations: 0 / 0.5954 GB, free: 4.445 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001849/1.364, allocations: 134.2 kB / 0.5955 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/1.364, allocations: 114.6 kB / 0.5956 GB, free: 4.211 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007862/1.365, allocations: 0.6086 MB / 0.5962 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/1.365, allocations: 188.6 kB / 0.5964 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/1.365, allocations: 20.5 kB / 0.5964 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of SimCode: time 7.81e-07/1.365, allocations: 0 / 0.5964 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of Templates: time 0.02159/1.387, allocations: 25.52 MB / 0.6213 GB, free: 9.957 MB / 0.5573 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPump1.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.756344735622406] Failed to read output from testmodel.py, exit status != 0: 1.6023799246177077 1.532005737 0.275975366 Calling exit ...