Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.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.509/0.509, allocations: 111.6 MB / 131.4 MB, free: 4.934 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.617e-06/3.617e-06, allocations: 4 kB / 176.5 MB, free: 8.973 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.708e-05, allocations: 2.312 kB / 176.5 MB, free: 8.969 MB / 170.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.TestInvSingularPressureLoss): time 1.046/1.046, allocations: 256.9 MB / 433.4 MB, free: 420 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02689/1.073, allocations: 32.41 MB / 465.8 MB, free: 15.88 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/1.073, allocations: 8 kB / 465.8 MB, free: 15.87 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourcePQ.mo:16:3-17:78: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:19:3-20:80: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/InvSingularPressureLoss.mo:15:3-16:80: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/InvSingularPressureLoss.mo:17:3-18:78: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.0003074/1.074, allocations: 95.3 kB / 465.9 MB, free: 15.78 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001407/1.074, allocations: 95.27 kB / 466 MB, free: 15.68 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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:51:3-51: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:51:3-51: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:118:3-118:151: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:118:3-118:151: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.0181/1.092, allocations: 9.779 MB / 475.8 MB, free: 5.863 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003883/1.092, allocations: 298.5 kB / 476.1 MB, free: 5.566 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/1.093, allocations: 88.52 kB / 476.2 MB, free: 5.477 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002506/1.093, allocations: 187.4 kB / 476.4 MB, free: 5.293 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.756e-05/1.093, allocations: 63.81 kB / 476.4 MB, free: 5.23 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/1.093, allocations: 16 kB / 476.4 MB, free: 5.215 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1969/1.29, allocations: 16.78 MB / 493.2 MB, free: 9.441 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.957e-05/1.29, allocations: 44.55 kB / 493.3 MB, free: 9.441 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/1.29, allocations: 74.11 kB / 493.3 MB, free: 9.441 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01587/1.306, allocations: 10.7 MB / 0.4922 GB, free: 6.746 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.306, allocations: 0 / 0.4922 GB, free: 6.746 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.553e-06/1.306, allocations: 4.656 kB / 0.4922 GB, free: 6.746 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.039e-06/1.306, allocations: 0 / 0.4922 GB, free: 6.746 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.003013/1.309, allocations: 1.47 MB / 0.4937 GB, free: 5.691 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/1.309, allocations: 10.86 kB / 0.4937 GB, free: 5.688 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.371e-05/1.309, allocations: 42 kB / 0.4937 GB, free: 5.668 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/1.309, allocations: 170.4 kB / 0.4939 GB, free: 5.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/1.309, allocations: 16 kB / 0.4939 GB, free: 5.492 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/1.309, allocations: 16.97 kB / 0.4939 GB, free: 5.488 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/1.309, allocations: 222.9 kB / 0.4941 GB, free: 5.324 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/1.309, allocations: 0.5 kB / 0.4941 GB, free: 5.324 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/1.309, allocations: 10.78 kB / 0.4941 GB, free: 5.316 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/1.309, allocations: 9.234 kB / 0.4941 GB, free: 5.312 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.733e-05/1.309, allocations: 69.67 kB / 0.4942 GB, free: 5.297 MB / 426.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.007549/1.317, allocations: 5.318 MB / 0.4994 GB, free: 2.992 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.601e-05/1.317, allocations: 44.45 kB / 0.4994 GB, free: 2.953 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.013e-05/1.317, allocations: 17.34 kB / 0.4994 GB, free: 2.941 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06173/1.379, allocations: 38.15 MB / 0.5367 GB, free: 14.16 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/1.379, allocations: 40.86 kB / 0.5367 GB, free: 14.11 MB / 474.7 MB Notification: Performance of pre-optimization done (n=22): time 1.723e-06/1.379, allocations: 0 / 0.5367 GB, free: 14.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002474/1.379, allocations: 114.3 kB / 0.5369 GB, free: 13.99 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/1.379, allocations: 51.41 kB / 0.5369 GB, free: 13.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/1.379, allocations: 217 kB / 0.5371 GB, free: 13.71 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/1.379, allocations: 29.7 kB / 0.5371 GB, free: 13.68 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/1.379, allocations: 198.4 kB / 0.5373 GB, free: 13.49 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/1.379, allocations: 71.16 kB / 0.5374 GB, free: 13.42 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/1.379, allocations: 57.55 kB / 0.5374 GB, free: 13.36 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003633/1.38, allocations: 0.4952 MB / 0.5379 GB, free: 12.86 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.54e-05/1.38, allocations: 18.98 kB / 0.5379 GB, free: 12.85 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.293e-05/1.38, allocations: 80.5 kB / 0.538 GB, free: 12.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.707e-05/1.38, allocations: 102.8 kB / 0.5381 GB, free: 12.64 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.38, allocations: 3.938 kB / 0.5381 GB, free: 12.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001442/1.38, allocations: 137 kB / 0.5383 GB, free: 12.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/1.38, allocations: 4 kB / 0.5383 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/1.38, allocations: 4 kB / 0.5383 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/1.38, allocations: 0.6875 kB / 0.5383 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/1.38, allocations: 47.23 kB / 0.5383 GB, free: 12.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/1.38, allocations: 0 / 0.5383 GB, free: 12.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.356e-05/1.38, allocations: 23.83 kB / 0.5383 GB, free: 12.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/1.38, allocations: 4 kB / 0.5383 GB, free: 12.43 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 (sourcePQ.C.b,sinkQ.C.a,invSingularPressureLoss.C1.a,invSingularPressureLoss.C2.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): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.297e-05/1.381, allocations: 168.6 kB / 0.5385 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.441e-05/1.381, allocations: 11.91 kB / 0.5385 GB, free: 12.24 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/1.381, allocations: 314.1 kB / 0.5388 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.2e-05/1.381, allocations: 105.6 kB / 0.5389 GB, free: 11.81 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/1.381, allocations: 0 / 0.5389 GB, free: 11.81 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/1.381, allocations: 0 / 0.5389 GB, free: 11.81 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/1.381, allocations: 496.7 kB / 0.5394 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/1.381, allocations: 4.531 kB / 0.5394 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/1.381, allocations: 43.95 kB / 0.5394 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/1.381, allocations: 3.188 kB / 0.5394 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/1.382, allocations: 7.984 kB / 0.5394 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.382, allocations: 1.516 kB / 0.5394 GB, free: 11.27 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.382, allocations: 7.922 kB / 0.5394 GB, free: 11.26 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/1.382, allocations: 289.3 kB / 0.5397 GB, free: 10.96 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/1.382, allocations: 23.83 kB / 0.5397 GB, free: 10.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/1.382, allocations: 4 kB / 0.5398 GB, free: 10.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.513e-05/1.382, allocations: 0 / 0.5398 GB, free: 10.93 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/1.382, allocations: 18.89 kB / 0.5398 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/1.382, allocations: 7.984 kB / 0.5398 GB, free: 10.91 MB / 474.7 MB Notification: Performance of sorting global known variables: time 6.562e-05/1.382, allocations: 171.8 kB / 0.5399 GB, free: 10.74 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/1.382, allocations: 0 / 0.5399 GB, free: 10.74 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002435/1.384, allocations: 1.196 MB / 0.5411 GB, free: 9.543 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003641/1.388, allocations: 1.978 MB / 0.543 GB, free: 7.785 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001914/1.388, allocations: 135.5 kB / 0.5432 GB, free: 7.652 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.388, allocations: 4 kB / 0.5432 GB, free: 7.648 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.764e-05/1.388, allocations: 48.28 kB / 0.5432 GB, free: 7.605 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/1.389, allocations: 82.28 kB / 0.5433 GB, free: 7.531 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007056/1.389, allocations: 438.7 kB / 0.5437 GB, free: 7.074 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.753e-05/1.389, allocations: 79.98 kB / 0.5438 GB, free: 6.977 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 6.507e-05/1.389, allocations: 23.58 kB / 0.5438 GB, free: 6.957 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/1.389, allocations: 126.1 kB / 0.5439 GB, free: 6.832 MB / 474.7 MB Notification: Performance of SimCode: time 9.02e-07/1.389, allocations: 0 / 0.5439 GB, free: 6.832 MB / 474.7 MB Notification: Performance of Templates: time 0.04682/1.436, allocations: 48.49 MB / 0.5913 GB, free: 6.547 MB / 0.5105 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.713487467262894]