Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.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.4803/0.4803, allocations: 111.6 MB / 131.2 MB, free: 4.555 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 176.2 MB, free: 9.184 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.463e-05, allocations: 4.844 kB / 176.2 MB, free: 9.18 MB / 170.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.Fluid.Examples.SimpleExamples.TestSingularPressureLoss): time 1.004/1.004, allocations: 257 MB / 433.3 MB, free: 380 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3393/1.343, allocations: 181.6 MB / 0.6004 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002033/1.343, allocations: 19.88 kB / 0.6004 GB, free: 0.9336 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:32:3-33:80:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/SingularPressureLoss.mo:22:3-23:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/SingularPressureLoss.mo:24:3-25:78:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.000107/1.344, allocations: 39.58 kB / 0.6005 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002569/1.344, allocations: 111 kB / 0.6006 GB, free: 0.7852 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:56:5-56:88:writable] Warning: T 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.02234/1.366, allocations: 11.6 MB / 0.6119 GB, free: 5.16 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.000463/1.367, allocations: 390.4 kB / 0.6123 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002314/1.367, allocations: 161.2 kB / 0.6124 GB, free: 4.617 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/1.367, allocations: 239.5 kB / 0.6127 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/1.367, allocations: 115.6 kB / 0.6128 GB, free: 4.27 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.398e-05/1.367, allocations: 28 kB / 0.6128 GB, free: 4.242 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02346/1.391, allocations: 18.65 MB / 0.631 GB, free: 1.566 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/1.391, allocations: 91.67 kB / 0.6311 GB, free: 1.477 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001425/1.391, allocations: 115.7 kB / 0.6312 GB, free: 1.363 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01858/1.41, allocations: 12.2 MB / 0.6431 GB, free: 5.133 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/1.41, allocations: 4 kB / 0.6431 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.783e-06/1.41, allocations: 0 / 0.6431 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.572e-06/1.41, allocations: 0 / 0.6431 GB, free: 5.129 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.003067/1.413, allocations: 1.852 MB / 0.6449 GB, free: 3.234 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/1.413, allocations: 19.98 kB / 0.645 GB, free: 3.215 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.813e-05/1.413, allocations: 72.34 kB / 0.645 GB, free: 3.145 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002819/1.413, allocations: 258.8 kB / 0.6453 GB, free: 2.863 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/1.413, allocations: 32.98 kB / 0.6453 GB, free: 2.832 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/1.413, allocations: 28 kB / 0.6453 GB, free: 2.805 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/1.413, allocations: 318.6 kB / 0.6456 GB, free: 2.457 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/1.413, allocations: 4 kB / 0.6456 GB, free: 2.453 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/1.413, allocations: 16 kB / 0.6456 GB, free: 2.438 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/1.413, allocations: 11.94 kB / 0.6457 GB, free: 2.426 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/1.414, allocations: 136.2 kB / 0.6458 GB, free: 2.293 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003988/1.418, allocations: 3.336 MB / 0.649 GB, free: 14.89 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.688e-05/1.418, allocations: 47.08 kB / 0.6491 GB, free: 14.84 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.517e-05/1.418, allocations: 19.69 kB / 0.6491 GB, free: 14.81 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0737/1.491, allocations: 44.27 MB / 0.6923 GB, free: 2.496 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/1.492, allocations: 37.39 kB / 0.6924 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 2.023e-06/1.492, allocations: 0 / 0.6924 GB, free: 2.449 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0004779/1.492, allocations: 135.1 kB / 0.6925 GB, free: 2.309 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/1.492, allocations: 51.41 kB / 0.6926 GB, free: 2.246 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/1.492, allocations: 334.2 kB / 0.6929 GB, free: 1.906 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/1.492, allocations: 29.7 kB / 0.6929 GB, free: 1.871 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/1.492, allocations: 274.7 kB / 0.6932 GB, free: 1.598 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/1.492, allocations: 23.83 kB / 0.6932 GB, free: 1.574 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.225e-05/1.492, allocations: 75.27 kB / 0.6933 GB, free: 1.492 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000101/1.493, allocations: 0.4962 MB / 0.6937 GB, free: 0.9844 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.943e-05/1.493, allocations: 19.98 kB / 0.6938 GB, free: 0.9648 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.35e-05/1.493, allocations: 170.9 kB / 0.6939 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/1.493, allocations: 202.7 kB / 0.6941 GB, free: 476 kB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.493, allocations: 4.5 kB / 0.6941 GB, free: 472 kB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000262/1.493, allocations: 227 kB / 0.6943 GB, free: 240 kB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/1.493, allocations: 8 kB / 0.6943 GB, free: 232 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/1.493, allocations: 4 kB / 0.6944 GB, free: 228 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003642/1.493, allocations: 65.41 kB / 0.6944 GB, free: 160 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.569e-05/1.494, allocations: 39.92 kB / 0.6945 GB, free: 120 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003175/1.494, allocations: 0.8116 MB / 0.6952 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.834e-05/1.494, allocations: 27.78 kB / 0.6953 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/1.494, allocations: 15.98 kB / 0.6953 GB, free: 15.23 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (singularPressureLoss.fluid,SourceP1.C.ftype,PuitsP1.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,singularPressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 9.13e-05/1.494, allocations: 168.5 kB / 0.6954 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/1.494, allocations: 27.86 kB / 0.6955 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000208/1.494, allocations: 135.8 kB / 0.6956 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/1.494, allocations: 7.938 kB / 0.6956 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/1.494, allocations: 0 / 0.6956 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/1.494, allocations: 0 / 0.6956 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/1.494, allocations: 220.5 kB / 0.6958 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.494, allocations: 1.438 kB / 0.6958 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.06e-05/1.494, allocations: 0 / 0.6958 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001765/1.495, allocations: 55.5 kB / 0.6959 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/1.495, allocations: 0 / 0.6959 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002509/1.495, allocations: 0.8194 MB / 0.6967 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.495, allocations: 0.75 kB / 0.6967 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/1.495, allocations: 143.8 kB / 0.6968 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-05/1.495, allocations: 35.92 kB / 0.6968 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/1.495, allocations: 384 / 0.6968 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.738e-05/1.495, allocations: 11.98 kB / 0.6969 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/1.495, allocations: 4 kB / 0.6969 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/1.495, allocations: 4 kB / 0.6969 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001143/1.495, allocations: 223 kB / 0.6971 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/1.495, allocations: 0 / 0.6971 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002383/1.498, allocations: 1.465 MB / 0.6985 GB, free: 11.8 MB / 0.6198 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 (2): * Single equations (assignments): 1 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004124/1.502, allocations: 2.396 MB / 0.7009 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000225/1.502, allocations: 95.52 kB / 0.7009 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.502, allocations: 0 / 0.7009 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.014e-05/1.502, allocations: 35.61 kB / 0.701 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/1.502, allocations: 67.36 kB / 0.701 GB, free: 9.203 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008898/1.503, allocations: 479.5 kB / 0.7015 GB, free: 8.699 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.579e-05/1.503, allocations: 92.3 kB / 0.7016 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.863e-05/1.503, allocations: 26.08 kB / 0.7016 GB, free: 8.562 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/1.503, allocations: 24.5 kB / 0.7016 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of SimCode: time 7.41e-07/1.503, allocations: 0 / 0.7016 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of Templates: time 0.2385/1.742, allocations: 57.85 MB / 0.7581 GB, free: 81.78 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.0330900070257485]