Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.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.8559/0.8559, allocations: 153.8 MB / 173.4 MB, free: 4.867 MB / 142.1 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.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005633/0.0005633, allocations: 15.97 kB / 251 MB, free: 3.871 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1609, allocations: 33.35 MB / 284.4 MB, free: 1.926 MB / 222.1 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.TestPipePressureLoss): time 1.861/2.022, allocations: 307.6 MB / 0.5781 GB, free: 17.29 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0321/2.054, allocations: 30.53 MB / 0.6079 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002595/2.054, allocations: 2.5 kB / 0.6079 GB, free: 2.605 MB / 478.1 MB [/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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/PressureLosses/PipePressureLoss.mo:35:3-37: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/PressureLosses/PipePressureLoss.mo:38:3-40:37:writable] Warning: Connector C2 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.0004075/2.055, allocations: 105 kB / 0.608 GB, free: 2.562 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003084/2.055, allocations: 117.9 kB / 0.6081 GB, free: 2.48 MB / 478.1 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.02579/2.081, allocations: 9.687 MB / 0.6176 GB, free: 12.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007889/2.082, allocations: 346.5 kB / 0.6179 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/2.082, allocations: 80.86 kB / 0.618 GB, free: 12.1 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003328/2.082, allocations: 166.5 kB / 0.6182 GB, free: 11.94 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/2.082, allocations: 99.44 kB / 0.6182 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/2.082, allocations: 16 kB / 0.6183 GB, free: 11.83 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0329/2.115, allocations: 16.76 MB / 0.6346 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.862e-05/2.115, allocations: 51.77 kB / 0.6347 GB, free: 11 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001844/2.116, allocations: 103.5 kB / 0.6348 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01885/2.134, allocations: 8.448 MB / 0.643 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/2.134, allocations: 0 / 0.643 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/2.134, allocations: 0 / 0.643 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.755e-05/2.134, allocations: 0 / 0.643 GB, free: 2.43 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.003883/2.138, allocations: 1.407 MB / 0.6444 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/2.138, allocations: 8.031 kB / 0.6444 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.062e-05/2.138, allocations: 27.81 kB / 0.6444 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/2.139, allocations: 184.7 kB / 0.6446 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/2.139, allocations: 13.09 kB / 0.6446 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/2.139, allocations: 20 kB / 0.6446 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004818/2.139, allocations: 295.4 kB / 0.6449 GB, free: 408 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/2.139, allocations: 6.156 kB / 0.6449 GB, free: 404 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/2.139, allocations: 8.938 kB / 0.6449 GB, free: 396 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/2.139, allocations: 15.98 kB / 0.645 GB, free: 380 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/2.14, allocations: 169.1 kB / 0.6451 GB, free: 208 kB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03782/2.177, allocations: 10.78 MB / 0.6556 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/2.178, allocations: 110.7 kB / 0.6558 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/2.178, allocations: 68.92 kB / 0.6558 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1579/2.336, allocations: 43.58 MB / 0.6984 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/2.336, allocations: 34.56 kB / 0.6984 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.244e-06/2.336, allocations: 0 / 0.6984 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.001042/2.337, allocations: 364.5 kB / 0.6988 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/2.337, allocations: 60.38 kB / 0.6988 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/2.337, allocations: 179 kB / 0.699 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/2.337, allocations: 25.7 kB / 0.699 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/2.337, allocations: 160.5 kB / 0.6992 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.896e-05/2.337, allocations: 118.9 kB / 0.6993 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.191e-05/2.337, allocations: 45.64 kB / 0.6993 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00016/2.338, allocations: 338.8 kB / 0.6996 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/2.338, allocations: 71.98 kB / 0.6997 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/2.338, allocations: 120.9 kB / 0.6998 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/2.338, allocations: 212.8 kB / 0.7 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/2.338, allocations: 0 / 0.7 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004601/2.339, allocations: 295.5 kB / 0.7003 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/2.339, allocations: 8 kB / 0.7003 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/2.339, allocations: 128 / 0.7003 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009186/2.34, allocations: 164.3 kB / 0.7005 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.174e-05/2.34, allocations: 11.98 kB / 0.7005 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006058/2.34, allocations: 0.6382 MB / 0.7011 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/2.34, allocations: 23.78 kB / 0.7011 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/2.34, allocations: 4 kB / 0.7011 GB, free: 6.602 MB / 0.5606 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 (pipePressureLoss.C2.b,pipePressureLoss.C1.a,PuitsP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 8 * 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 {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001369/2.341, allocations: 131 kB / 0.7013 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.033e-05/2.341, allocations: 19.86 kB / 0.7013 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008186/2.341, allocations: 0.595 MB / 0.7019 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003925/2.342, allocations: 222.4 kB / 0.7021 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/2.342, allocations: 0 / 0.7021 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/2.342, allocations: 0 / 0.7021 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000962/2.343, allocations: 0.6258 MB / 0.7027 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/2.343, allocations: 6 kB / 0.7027 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.739e-05/2.343, allocations: 12 kB / 0.7027 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003988/2.343, allocations: 121.2 kB / 0.7028 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/2.343, allocations: 0 / 0.7028 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005714/2.344, allocations: 0.659 MB / 0.7035 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/2.344, allocations: 4.5 kB / 0.7035 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000483/2.344, allocations: 342 kB / 0.7038 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/2.344, allocations: 27.83 kB / 0.7038 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/2.344, allocations: 11.89 kB / 0.7038 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/2.344, allocations: 4.812 kB / 0.7038 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/2.345, allocations: 12.77 kB / 0.7038 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/2.345, allocations: 12.06 kB / 0.7039 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002164/2.345, allocations: 204.5 kB / 0.7041 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/2.345, allocations: 0 / 0.7041 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002933/2.348, allocations: 1.208 MB / 0.7052 GB, free: 2.238 MB / 0.5606 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 (11): * Single equations (assignments): 10 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004652/2.352, allocations: 1.735 MB / 0.7069 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005547/2.353, allocations: 218.8 kB / 0.7071 GB, free: 316 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/2.353, allocations: 0 / 0.7071 GB, free: 316 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002172/2.353, allocations: 79.89 kB / 0.7072 GB, free: 236 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007023/2.354, allocations: 110.1 kB / 0.7073 GB, free: 144 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009815/2.355, allocations: 0.5428 MB / 0.7078 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001686/2.355, allocations: 156.9 kB / 0.708 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.685e-05/2.355, allocations: 23.44 kB / 0.708 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/2.355, allocations: 0 / 0.708 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of Templates: time 0.03824/2.393, allocations: 24.81 MB / 0.7323 GB, free: 6.938 MB / 0.5919 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.389649839140475] Failed to read output from testmodel.py, exit status != 0: 2.5574882542714477 2.574041403 0.436240836 Calling exit ...