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.8473/0.8473, allocations: 120.4 MB / 139.5 MB, free: 496 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.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 1.623e-06/1.623e-06, allocations: 0 / 217.2 MB, free: 13.7 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.314e-05, allocations: 2.281 kB / 217.2 MB, free: 13.7 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.SimpleExamples.TestPipePressureLoss): time 1.533/1.533, allocations: 254.3 MB / 471.5 MB, free: 10.56 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2534/1.787, allocations: 30.54 MB / 0.4903 GB, free: 7.875 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002101/1.787, allocations: 1.594 kB / 0.4903 GB, free: 7.875 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.0004109/1.787, allocations: 105.1 kB / 0.4904 GB, free: 7.809 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002508/1.788, allocations: 121.2 kB / 0.4905 GB, free: 7.707 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.0274/1.815, allocations: 9.77 MB / 0.5001 GB, free: 1.176 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005664/1.816, allocations: 358.3 kB / 0.5004 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/1.816, allocations: 93.3 kB / 0.5005 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003737/1.816, allocations: 217.2 kB / 0.5007 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/1.816, allocations: 87.72 kB / 0.5008 GB, free: 496 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/1.816, allocations: 16 kB / 0.5008 GB, free: 480 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03468/1.851, allocations: 16.79 MB / 0.5172 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.311e-05/1.851, allocations: 44.53 kB / 0.5172 GB, free: 15.64 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000226/1.851, allocations: 87.78 kB / 0.5173 GB, free: 15.55 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02596/1.877, allocations: 10.81 MB / 0.5279 GB, free: 4.719 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.877, allocations: 0 / 0.5279 GB, free: 4.719 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.703e-06/1.877, allocations: 0 / 0.5279 GB, free: 4.719 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/1.877, allocations: 0.6562 kB / 0.5279 GB, free: 4.719 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.004052/1.881, allocations: 1.403 MB / 0.5292 GB, free: 3.277 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/1.882, allocations: 9.688 kB / 0.5292 GB, free: 3.27 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/1.882, allocations: 31.81 kB / 0.5293 GB, free: 3.238 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/1.882, allocations: 174 kB / 0.5294 GB, free: 3.043 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/1.882, allocations: 16.5 kB / 0.5295 GB, free: 3.027 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/1.882, allocations: 19.52 kB / 0.5295 GB, free: 3.012 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004838/1.882, allocations: 300.4 kB / 0.5298 GB, free: 2.691 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/1.882, allocations: 0 / 0.5298 GB, free: 2.691 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/1.882, allocations: 15.98 kB / 0.5298 GB, free: 2.676 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/1.882, allocations: 4 kB / 0.5298 GB, free: 2.672 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/1.883, allocations: 169.7 kB / 0.5299 GB, free: 2.508 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.03899/1.922, allocations: 10.79 MB / 0.5405 GB, free: 7.781 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003704/1.922, allocations: 106.7 kB / 0.5406 GB, free: 7.668 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/1.922, allocations: 73.41 kB / 0.5407 GB, free: 7.594 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1624/2.085, allocations: 43.57 MB / 0.5832 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/2.085, allocations: 30.56 kB / 0.5832 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 3.647e-06/2.085, allocations: 0.6562 kB / 0.5832 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=34): time 0.001111/2.086, allocations: 363.6 kB / 0.5836 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/2.086, allocations: 51.41 kB / 0.5836 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/2.086, allocations: 184 kB / 0.5838 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/2.086, allocations: 25.7 kB / 0.5838 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/2.086, allocations: 164.5 kB / 0.584 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.87e-05/2.086, allocations: 111 kB / 0.5841 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.359e-05/2.086, allocations: 53.62 kB / 0.5841 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001583/2.086, allocations: 326.8 kB / 0.5845 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/2.087, allocations: 75.97 kB / 0.5845 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/2.087, allocations: 128.1 kB / 0.5846 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/2.087, allocations: 208.6 kB / 0.5848 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/2.087, allocations: 0 / 0.5848 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004872/2.088, allocations: 297.9 kB / 0.5851 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/2.088, allocations: 8.547 kB / 0.5851 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/2.088, allocations: 0 / 0.5851 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009714/2.089, allocations: 163.2 kB / 0.5853 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.151e-05/2.089, allocations: 8 kB / 0.5853 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006283/2.089, allocations: 0.6343 MB / 0.5859 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/2.089, allocations: 19.81 kB / 0.5859 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/2.089, allocations: 13.42 kB / 0.586 GB, free: 9.031 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.0001495/2.089, allocations: 133.8 kB / 0.5861 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/2.09, allocations: 21.64 kB / 0.5861 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000872/2.09, allocations: 0.5881 MB / 0.5867 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004079/2.091, allocations: 220.7 kB / 0.5869 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/2.091, allocations: 4 kB / 0.5869 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/2.091, allocations: 5.625 kB / 0.5869 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/2.092, allocations: 0.6202 MB / 0.5875 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/2.092, allocations: 4 kB / 0.5875 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.494e-05/2.092, allocations: 22.55 kB / 0.5875 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004084/2.092, allocations: 105.6 kB / 0.5876 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/2.092, allocations: 4 kB / 0.5876 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005666/2.093, allocations: 0.6638 MB / 0.5883 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/2.093, allocations: 0 / 0.5883 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005107/2.093, allocations: 335.2 kB / 0.5886 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.928e-05/2.093, allocations: 27.89 kB / 0.5886 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/2.094, allocations: 7.891 kB / 0.5886 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/2.094, allocations: 11.94 kB / 0.5886 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/2.094, allocations: 8.812 kB / 0.5887 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/2.094, allocations: 4 kB / 0.5887 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000227/2.094, allocations: 205.2 kB / 0.5889 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/2.094, allocations: 0 / 0.5889 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003152/2.097, allocations: 1.208 MB / 0.59 GB, free: 4.688 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.006261/2.103, allocations: 1.905 MB / 0.5919 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005579/2.104, allocations: 238.4 kB / 0.5921 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/2.104, allocations: 4.062 kB / 0.5921 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002235/2.104, allocations: 79.95 kB / 0.5922 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007373/2.105, allocations: 107.7 kB / 0.5923 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/2.106, allocations: 0.4919 MB / 0.5928 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/2.106, allocations: 156.9 kB / 0.5929 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.15e-05/2.106, allocations: 18.84 kB / 0.593 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.571e-05/2.106, allocations: 20.5 kB / 0.593 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/2.106, allocations: 0 / 0.593 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of Templates: time 0.06334/2.169, allocations: 41.92 MB / 0.6339 GB, free: 7.957 MB / 0.5762 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: 8.346145641058683] Failed to read output from testmodel.py, exit status != 0: 2.5511229261755943 2.561478048 0.681700447 Calling exit ...