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.5569/0.5569, allocations: 120.4 MB / 140.2 MB, free: 12.98 MB / 138.7 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 2.885e-06/2.885e-06, allocations: 0.6562 kB / 218 MB, free: 8.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.665e-05, allocations: 6.344 kB / 218 MB, free: 8.609 MB / 202.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.Examples.SimpleExamples.TestSingularPressureLoss): time 1.01/1.01, allocations: 254.2 MB / 472.2 MB, free: 8.887 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.252/1.262, allocations: 30.51 MB / 0.491 GB, free: 0.918 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/1.262, allocations: 2.219 kB / 0.491 GB, free: 0.918 MB / 442.7 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.0003437/1.262, allocations: 102.7 kB / 0.4911 GB, free: 0.918 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/1.263, allocations: 116.9 kB / 0.4912 GB, free: 0.9141 MB / 442.7 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.02092/1.284, allocations: 9.757 MB / 0.5007 GB, free: 15.14 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005335/1.284, allocations: 348.1 kB / 0.501 GB, free: 15.01 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/1.284, allocations: 90.66 kB / 0.5011 GB, free: 14.98 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003297/1.285, allocations: 215.8 kB / 0.5013 GB, free: 14.91 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/1.285, allocations: 68.95 kB / 0.5014 GB, free: 14.89 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/1.285, allocations: 16.72 kB / 0.5014 GB, free: 14.89 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02721/1.312, allocations: 16.79 MB / 0.5178 GB, free: 3.27 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.3e-05/1.312, allocations: 36.47 kB / 0.5178 GB, free: 3.238 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001729/1.312, allocations: 90.36 kB / 0.5179 GB, free: 3.152 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01936/1.332, allocations: 10.79 MB / 0.5285 GB, free: 8.852 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.332, allocations: 1.406 kB / 0.5285 GB, free: 8.852 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.653e-06/1.332, allocations: 0 / 0.5285 GB, free: 8.852 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/1.332, allocations: 1.125 kB / 0.5285 GB, free: 8.852 MB / 474.7 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.003647/1.335, allocations: 1.394 MB / 0.5298 GB, free: 7.426 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/1.335, allocations: 8.031 kB / 0.5298 GB, free: 7.418 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.505e-05/1.335, allocations: 33.06 kB / 0.5299 GB, free: 7.387 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/1.336, allocations: 176.7 kB / 0.53 GB, free: 7.191 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/1.336, allocations: 12.5 kB / 0.53 GB, free: 7.18 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/1.336, allocations: 21.53 kB / 0.5301 GB, free: 7.16 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/1.336, allocations: 283.2 kB / 0.5303 GB, free: 6.859 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/1.336, allocations: 3.938 kB / 0.5303 GB, free: 6.855 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/1.336, allocations: 8 kB / 0.5304 GB, free: 6.848 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/1.336, allocations: 16.73 kB / 0.5304 GB, free: 6.832 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/1.336, allocations: 164.3 kB / 0.5305 GB, free: 6.668 MB / 474.7 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.01782/1.354, allocations: 10.76 MB / 0.541 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/1.354, allocations: 114.5 kB / 0.5411 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.455e-05/1.354, allocations: 60.97 kB / 0.5412 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07429/1.429, allocations: 43.57 MB / 0.5837 GB, free: 248 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/1.429, allocations: 35.61 kB / 0.5838 GB, free: 204 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=32): time 2.464e-06/1.429, allocations: 4 kB / 0.5838 GB, free: 200 kB / 0.5105 GB Notification: Performance of matching and sorting (n=32): time 0.0007038/1.429, allocations: 318.2 kB / 0.5841 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/1.429, allocations: 51.41 kB / 0.5841 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/1.429, allocations: 170.2 kB / 0.5843 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/1.429, allocations: 26.45 kB / 0.5843 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.537e-05/1.43, allocations: 158.5 kB / 0.5845 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.893e-05/1.43, allocations: 110.1 kB / 0.5846 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-05/1.43, allocations: 53.64 kB / 0.5846 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.95e-05/1.43, allocations: 326.8 kB / 0.5849 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.231e-05/1.43, allocations: 72.23 kB / 0.585 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.138e-05/1.43, allocations: 108.9 kB / 0.5851 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/1.43, allocations: 213.3 kB / 0.5853 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.43, allocations: 0.75 kB / 0.5853 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002823/1.43, allocations: 274.7 kB / 0.5856 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/1.43, allocations: 4 kB / 0.5856 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/1.43, allocations: 0 / 0.5856 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005201/1.431, allocations: 145.3 kB / 0.5857 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.693e-05/1.431, allocations: 8.5 kB / 0.5857 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003736/1.431, allocations: 0.6115 MB / 0.5863 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.481e-05/1.431, allocations: 24.66 kB / 0.5864 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/1.431, allocations: 10.55 kB / 0.5864 GB, free: 13.44 MB / 0.5261 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.000104/1.431, allocations: 130.4 kB / 0.5865 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/1.432, allocations: 19.86 kB / 0.5865 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004829/1.432, allocations: 0.5615 MB / 0.5871 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001753/1.432, allocations: 199.4 kB / 0.5872 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.432, allocations: 0.8438 kB / 0.5872 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.432, allocations: 3.984 kB / 0.5872 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007258/1.433, allocations: 0.5751 MB / 0.5878 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/1.433, allocations: 0 / 0.5878 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.02e-05/1.433, allocations: 16.5 kB / 0.5878 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002145/1.433, allocations: 114.6 kB / 0.5879 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/1.433, allocations: 0 / 0.5879 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002939/1.433, allocations: 0.642 MB / 0.5886 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.433, allocations: 1.188 kB / 0.5886 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/1.434, allocations: 296.4 kB / 0.5888 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/1.434, allocations: 27.77 kB / 0.5889 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/1.434, allocations: 11.89 kB / 0.5889 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.701e-05/1.434, allocations: 4 kB / 0.5889 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/1.434, allocations: 11.97 kB / 0.5889 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/1.434, allocations: 8.062 kB / 0.5889 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001278/1.434, allocations: 196.1 kB / 0.5891 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/1.434, allocations: 5.719 kB / 0.5891 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00244/1.436, allocations: 1.208 MB / 0.5903 GB, free: 9.258 MB / 0.5261 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.003436/1.44, allocations: 1.906 MB / 0.5921 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003654/1.44, allocations: 207.3 kB / 0.5923 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.44, allocations: 0 / 0.5923 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/1.44, allocations: 79.89 kB / 0.5924 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/1.441, allocations: 101.8 kB / 0.5925 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006658/1.441, allocations: 0.5019 MB / 0.593 GB, free: 6.672 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.82e-05/1.441, allocations: 156.9 kB / 0.5931 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.611e-05/1.441, allocations: 20.5 kB / 0.5932 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of SimCode: time 6.91e-07/1.441, allocations: 0 / 0.5932 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of Templates: time 0.02745/1.469, allocations: 24.9 MB / 0.6175 GB, free: 13.72 MB / 0.5573 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: 6.641383425332606] Failed to read output from testmodel.py, exit status != 0: 1.6947632124647498 1.618999133 0.285443796 Calling exit ...