Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.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.8498/0.8498, allocations: 120.3 MB / 139.4 MB, free: 488 kB / 126.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.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 217.1 MB, free: 13.8 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.517e-05, allocations: 3.594 kB / 217.1 MB, free: 13.79 MB / 206.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.Book.SimpleExamples.PressureLoss.TestPipePressureLoss): time 1.558/1.558, allocations: 254.2 MB / 471.3 MB, free: 10.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2831/1.841, allocations: 30.53 MB / 0.4901 GB, free: 7.977 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/1.841, allocations: 4.531 kB / 0.4901 GB, free: 7.977 MB / 446.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.0004071/1.842, allocations: 108.5 kB / 0.4902 GB, free: 7.906 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002798/1.842, allocations: 130.9 kB / 0.4903 GB, free: 7.797 MB / 446.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.03058/1.873, allocations: 9.766 MB / 0.4999 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006379/1.873, allocations: 361.2 kB / 0.5002 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/1.874, allocations: 85.78 kB / 0.5003 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00038/1.874, allocations: 230.1 kB / 0.5005 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/1.874, allocations: 75.75 kB / 0.5006 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/1.874, allocations: 16 kB / 0.5006 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03426/1.908, allocations: 16.79 MB / 0.517 GB, free: 15.8 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.318e-05/1.908, allocations: 49.05 kB / 0.5171 GB, free: 15.75 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001998/1.909, allocations: 83.78 kB / 0.5171 GB, free: 15.67 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02312/1.932, allocations: 10.8 MB / 0.5277 GB, free: 4.848 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/1.932, allocations: 0.7188 kB / 0.5277 GB, free: 4.848 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.583e-06/1.932, allocations: 0 / 0.5277 GB, free: 4.848 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/1.932, allocations: 6.094 kB / 0.5277 GB, free: 4.844 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.003934/1.936, allocations: 1.403 MB / 0.5291 GB, free: 3.402 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/1.936, allocations: 8.688 kB / 0.5291 GB, free: 3.395 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/1.936, allocations: 31.81 kB / 0.5291 GB, free: 3.363 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/1.936, allocations: 178 kB / 0.5293 GB, free: 3.164 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/1.936, allocations: 15.06 kB / 0.5293 GB, free: 3.152 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/1.936, allocations: 20 kB / 0.5293 GB, free: 3.133 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004726/1.937, allocations: 304.4 kB / 0.5296 GB, free: 2.809 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/1.937, allocations: 0 / 0.5296 GB, free: 2.809 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/1.937, allocations: 4.75 kB / 0.5296 GB, free: 2.805 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/1.937, allocations: 16.59 kB / 0.5296 GB, free: 2.789 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/1.937, allocations: 169.9 kB / 0.5298 GB, free: 2.625 MB / 478.1 MB 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.0385/1.975, allocations: 10.77 MB / 0.5403 GB, free: 7.898 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003613/1.976, allocations: 115.4 kB / 0.5404 GB, free: 7.777 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/1.976, allocations: 68.84 kB / 0.5405 GB, free: 7.707 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1651/2.141, allocations: 43.57 MB / 0.583 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/2.141, allocations: 38.48 kB / 0.5831 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.054e-06/2.141, allocations: 0.5625 kB / 0.5831 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=34): time 0.001104/2.142, allocations: 359.7 kB / 0.5834 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/2.142, allocations: 51.41 kB / 0.5835 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/2.143, allocations: 182.7 kB / 0.5836 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/2.143, allocations: 25.7 kB / 0.5836 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/2.143, allocations: 160.5 kB / 0.5838 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/2.143, allocations: 120.1 kB / 0.5839 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.091e-05/2.143, allocations: 45.7 kB / 0.584 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000161/2.143, allocations: 330.8 kB / 0.5843 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/2.143, allocations: 75.97 kB / 0.5843 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/2.143, allocations: 116.2 kB / 0.5845 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003199/2.144, allocations: 212.6 kB / 0.5847 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/2.144, allocations: 0 / 0.5847 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005299/2.144, allocations: 305.8 kB / 0.585 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/2.144, allocations: 5.094 kB / 0.585 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/2.144, allocations: 0 / 0.585 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/2.145, allocations: 164.8 kB / 0.5851 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.581e-05/2.145, allocations: 4 kB / 0.5851 GB, free: 9.836 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006314/2.146, allocations: 0.6334 MB / 0.5857 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/2.146, allocations: 27.75 kB / 0.5858 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/2.146, allocations: 8 kB / 0.5858 GB, free: 9.145 MB / 0.5294 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.0001606/2.146, allocations: 137.8 kB / 0.5859 GB, free: 9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.072e-05/2.146, allocations: 20.25 kB / 0.5859 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008897/2.147, allocations: 0.5885 MB / 0.5865 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004177/2.148, allocations: 220.8 kB / 0.5867 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/2.148, allocations: 4 kB / 0.5867 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/2.148, allocations: 0 / 0.5867 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/2.149, allocations: 0.6219 MB / 0.5873 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/2.149, allocations: 8 kB / 0.5873 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.138e-05/2.149, allocations: 15.94 kB / 0.5873 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004271/2.149, allocations: 114.2 kB / 0.5875 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/2.149, allocations: 4 kB / 0.5875 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006081/2.15, allocations: 0.6597 MB / 0.5881 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/2.15, allocations: 0 / 0.5881 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005309/2.15, allocations: 335.2 kB / 0.5884 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/2.15, allocations: 31.89 kB / 0.5884 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.677e-05/2.15, allocations: 11.89 kB / 0.5885 GB, free: 6.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/2.151, allocations: 4 kB / 0.5885 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/2.151, allocations: 3.984 kB / 0.5885 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/2.151, allocations: 8 kB / 0.5885 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002494/2.151, allocations: 205.2 kB / 0.5887 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/2.151, allocations: 0 / 0.5887 GB, free: 6.012 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003274/2.154, allocations: 1.212 MB / 0.5899 GB, free: 4.797 MB / 0.5294 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.00628/2.16, allocations: 1.915 MB / 0.5917 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006022/2.161, allocations: 229 kB / 0.5919 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/2.161, allocations: 256 / 0.5919 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002319/2.161, allocations: 80.66 kB / 0.592 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007708/2.162, allocations: 109.3 kB / 0.5921 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009502/2.163, allocations: 499.7 kB / 0.5926 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/2.163, allocations: 164.8 kB / 0.5928 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.813e-05/2.163, allocations: 18.73 kB / 0.5928 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/2.163, allocations: 20.5 kB / 0.5928 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of SimCode: time 3.4e-07/2.163, allocations: 0 / 0.5928 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of Templates: time 0.06553/2.229, allocations: 41.93 MB / 0.6337 GB, free: 8.086 MB / 0.5762 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestPipePressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.372068252414465] Failed to read output from testmodel.py, exit status != 0: 2.605920869857073 2.615326749 0.6811586 Calling exit ...