Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.8627/0.8627, allocations: 120.4 MB / 139.5 MB, free: 492 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.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 217.2 MB, free: 13.7 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.232e-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.TestSingularPressureLoss): time 1.539/1.539, allocations: 254.2 MB / 471.5 MB, free: 10.61 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2422/1.782, allocations: 30.52 MB / 0.4902 GB, free: 7.938 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/1.782, allocations: 3.875 kB / 0.4902 GB, free: 7.938 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/SingularPressureLoss.mo:25:3-27:16: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/SingularPressureLoss.mo:28:3-29:52: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.0003748/1.782, allocations: 108.5 kB / 0.4903 GB, free: 7.867 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/1.782, allocations: 118.2 kB / 0.4904 GB, free: 7.77 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.0268/1.809, allocations: 9.764 MB / 0.5 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005472/1.81, allocations: 342.3 kB / 0.5003 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001853/1.81, allocations: 85.67 kB / 0.5004 GB, free: 0.875 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003629/1.81, allocations: 211.3 kB / 0.5006 GB, free: 0.668 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/1.81, allocations: 80.23 kB / 0.5007 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/1.811, allocations: 16.81 kB / 0.5007 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03249/1.843, allocations: 16.78 MB / 0.5171 GB, free: 15.79 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.003e-05/1.843, allocations: 39.78 kB / 0.5171 GB, free: 15.75 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001795/1.843, allocations: 88.27 kB / 0.5172 GB, free: 15.67 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0228/1.866, allocations: 10.79 MB / 0.5277 GB, free: 4.852 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/1.866, allocations: 0 / 0.5277 GB, free: 4.852 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.462e-06/1.866, allocations: 0.7188 kB / 0.5277 GB, free: 4.852 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/1.866, allocations: 4 kB / 0.5277 GB, free: 4.848 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.003903/1.87, allocations: 1.393 MB / 0.5291 GB, free: 3.418 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/1.87, allocations: 8.688 kB / 0.5291 GB, free: 3.41 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.166e-05/1.87, allocations: 27.81 kB / 0.5291 GB, free: 3.383 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/1.87, allocations: 179.2 kB / 0.5293 GB, free: 3.184 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/1.87, allocations: 14.94 kB / 0.5293 GB, free: 3.172 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/1.87, allocations: 20 kB / 0.5293 GB, free: 3.152 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000467/1.871, allocations: 291.1 kB / 0.5296 GB, free: 2.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/1.871, allocations: 0 / 0.5296 GB, free: 2.84 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/1.871, allocations: 10.94 kB / 0.5296 GB, free: 2.832 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/1.871, allocations: 15.98 kB / 0.5296 GB, free: 2.816 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002763/1.871, allocations: 168.2 kB / 0.5298 GB, free: 2.652 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.03907/1.91, allocations: 10.75 MB / 0.5403 GB, free: 7.957 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/1.911, allocations: 110.5 kB / 0.5404 GB, free: 7.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.963e-05/1.911, allocations: 60.97 kB / 0.5405 GB, free: 7.777 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1627/2.073, allocations: 43.56 MB / 0.583 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/2.073, allocations: 31.12 kB / 0.583 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=32): time 2.735e-06/2.073, allocations: 0 / 0.583 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=32): time 0.0009018/2.074, allocations: 326.2 kB / 0.5833 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/2.074, allocations: 51.41 kB / 0.5834 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/2.075, allocations: 170.2 kB / 0.5836 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/2.075, allocations: 25.7 kB / 0.5836 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/2.075, allocations: 157.6 kB / 0.5837 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.24e-05/2.075, allocations: 115 kB / 0.5838 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.687e-05/2.075, allocations: 45.69 kB / 0.5839 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001533/2.075, allocations: 326.8 kB / 0.5842 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/2.075, allocations: 68.3 kB / 0.5843 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/2.075, allocations: 116.9 kB / 0.5844 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002761/2.076, allocations: 209.4 kB / 0.5846 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/2.076, allocations: 0 / 0.5846 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004512/2.076, allocations: 274.1 kB / 0.5848 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/2.076, allocations: 4 kB / 0.5848 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/2.076, allocations: 4.5 kB / 0.5848 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009041/2.077, allocations: 152.8 kB / 0.585 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.928e-05/2.077, allocations: 7.984 kB / 0.585 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006155/2.078, allocations: 0.6091 MB / 0.5856 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/2.078, allocations: 23.88 kB / 0.5856 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/2.078, allocations: 8 kB / 0.5856 GB, free: 9.363 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 (singularPressureLoss.C2.b,singularPressureLoss.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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001703/2.078, allocations: 135.1 kB / 0.5857 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.462e-05/2.078, allocations: 15.91 kB / 0.5858 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008736/2.079, allocations: 0.5576 MB / 0.5863 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003489/2.079, allocations: 190.5 kB / 0.5865 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/2.079, allocations: 0.5625 kB / 0.5865 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/2.079, allocations: 11.98 kB / 0.5865 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00082/2.08, allocations: 0.5823 MB / 0.5871 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/2.08, allocations: 0 / 0.5871 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.047e-05/2.08, allocations: 12 kB / 0.5871 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003831/2.08, allocations: 114.2 kB / 0.5872 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/2.08, allocations: 2.625 kB / 0.5872 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005598/2.081, allocations: 0.6362 MB / 0.5878 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/2.081, allocations: 1.188 kB / 0.5878 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/2.081, allocations: 303.5 kB / 0.5881 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/2.081, allocations: 27.77 kB / 0.5881 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/2.081, allocations: 11.89 kB / 0.5881 GB, free: 6.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.957e-05/2.082, allocations: 4 kB / 0.5881 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/2.082, allocations: 11.97 kB / 0.5882 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/2.082, allocations: 4 kB / 0.5882 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000221/2.082, allocations: 204 kB / 0.5884 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/2.082, allocations: 4 kB / 0.5884 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003322/2.085, allocations: 1.208 MB / 0.5895 GB, free: 5.176 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006422/2.092, allocations: 1.899 MB / 0.5914 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006762/2.092, allocations: 209.5 kB / 0.5916 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/2.092, allocations: 3.938 kB / 0.5916 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002498/2.092, allocations: 75.91 kB / 0.5917 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007824/2.093, allocations: 110.1 kB / 0.5918 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009013/2.094, allocations: 467.6 kB / 0.5922 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/2.094, allocations: 155.5 kB / 0.5924 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.241e-05/2.094, allocations: 19.08 kB / 0.5924 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/2.094, allocations: 16.5 kB / 0.5924 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/2.094, allocations: 0 / 0.5924 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of Templates: time 0.06627/2.161, allocations: 41.81 MB / 0.6332 GB, free: 8.648 MB / 0.5762 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSingularPressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.393894731998444] Failed to read output from testmodel.py, exit status != 0: 2.329258792102337 2.545827784 0.677361498 Calling exit ...