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.4855/0.4855, allocations: 111.6 MB / 132.2 MB, free: 4.434 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 1.613e-06/1.613e-06, allocations: 0 / 177.3 MB, free: 8.918 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.736e-05, allocations: 5.047 kB / 177.3 MB, free: 8.914 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.113/1.113, allocations: 256.8 MB / 434.2 MB, free: 192 kB / 378.8 MB Notification: Performance of NFInst.instExpressions: time 0.02614/1.139, allocations: 32.42 MB / 466.6 MB, free: 15.64 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/1.14, allocations: 4 kB / 466.6 MB, free: 15.64 MB / 426.8 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.0002867/1.14, allocations: 91.47 kB / 466.7 MB, free: 15.55 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001261/1.14, allocations: 95.27 kB / 466.8 MB, free: 15.45 MB / 426.8 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.01737/1.157, allocations: 9.783 MB / 476.6 MB, free: 5.633 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003868/1.158, allocations: 298.5 kB / 476.8 MB, free: 5.34 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/1.158, allocations: 88.52 kB / 476.9 MB, free: 5.25 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/1.158, allocations: 187.4 kB / 477.1 MB, free: 5.066 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 8.811e-05/1.158, allocations: 71.75 kB / 477.2 MB, free: 4.996 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/1.158, allocations: 16 kB / 477.2 MB, free: 4.98 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02069/1.179, allocations: 16.78 MB / 494 MB, free: 4.172 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 5.606e-05/1.179, allocations: 39.83 kB / 494 MB, free: 4.133 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/1.179, allocations: 75.78 kB / 494.1 MB, free: 4.059 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.2004/1.38, allocations: 10.7 MB / 0.493 GB, free: 20.65 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/1.38, allocations: 0 / 0.493 GB, free: 20.65 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.723e-06/1.38, allocations: 0 / 0.493 GB, free: 20.65 MB / 442.8 MB Notification: Performance of Transformations before backend: time 8.195e-06/1.38, allocations: 0 / 0.493 GB, free: 20.65 MB / 442.8 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.00603/1.386, allocations: 1.469 MB / 0.4944 GB, free: 19.73 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/1.386, allocations: 13.98 kB / 0.4944 GB, free: 19.73 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.271e-05/1.386, allocations: 42.72 kB / 0.4945 GB, free: 19.71 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/1.386, allocations: 163.9 kB / 0.4946 GB, free: 19.57 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/1.386, allocations: 15.62 kB / 0.4946 GB, free: 19.57 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.729e-05/1.386, allocations: 19.03 kB / 0.4946 GB, free: 19.57 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/1.386, allocations: 216.9 kB / 0.4948 GB, free: 19.46 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.386, allocations: 2.312 kB / 0.4949 GB, free: 19.46 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/1.386, allocations: 10.86 kB / 0.4949 GB, free: 19.46 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/1.386, allocations: 11.45 kB / 0.4949 GB, free: 19.46 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.517e-05/1.386, allocations: 62.14 kB / 0.4949 GB, free: 19.46 MB / 442.8 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.009471/1.396, allocations: 5.315 MB / 0.5001 GB, free: 18.42 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.318e-05/1.396, allocations: 50 kB / 0.5002 GB, free: 18.38 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.166e-05/1.396, allocations: 24.91 kB / 0.5002 GB, free: 18.37 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06784/1.464, allocations: 37.88 MB / 0.5372 GB, free: 11.06 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/1.464, allocations: 33.39 kB / 0.5372 GB, free: 11.02 MB / 458.8 MB Notification: Performance of pre-optimization done (n=22): time 1.833e-06/1.464, allocations: 0 / 0.5372 GB, free: 11.02 MB / 458.8 MB Notification: Performance of matching and sorting (n=22): time 0.0002801/1.464, allocations: 117.8 kB / 0.5373 GB, free: 10.9 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/1.464, allocations: 55.39 kB / 0.5374 GB, free: 10.84 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/1.464, allocations: 208.1 kB / 0.5376 GB, free: 10.63 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/1.464, allocations: 29.08 kB / 0.5376 GB, free: 10.6 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/1.464, allocations: 204 kB / 0.5378 GB, free: 10.41 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.335e-05/1.464, allocations: 77.53 kB / 0.5379 GB, free: 10.34 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/1.464, allocations: 52.84 kB / 0.5379 GB, free: 10.3 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001171/1.464, allocations: 0.4953 MB / 0.5384 GB, free: 9.797 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.575e-05/1.464, allocations: 16 kB / 0.5384 GB, free: 9.781 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.61e-05/1.465, allocations: 80.2 kB / 0.5385 GB, free: 9.691 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.212e-05/1.465, allocations: 104.3 kB / 0.5386 GB, free: 9.586 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.465, allocations: 3.938 kB / 0.5386 GB, free: 9.582 MB / 458.8 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001532/1.465, allocations: 139.9 kB / 0.5387 GB, free: 9.453 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/1.465, allocations: 4 kB / 0.5387 GB, free: 9.449 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/1.465, allocations: 4 kB / 0.5387 GB, free: 9.445 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.108e-06/1.465, allocations: 0 / 0.5387 GB, free: 9.445 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/1.465, allocations: 51.69 kB / 0.5388 GB, free: 9.398 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/1.465, allocations: 128 / 0.5388 GB, free: 9.398 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.978e-05/1.465, allocations: 19.84 kB / 0.5388 GB, free: 9.379 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/1.465, allocations: 6.297 kB / 0.5388 GB, free: 9.375 MB / 458.8 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.558e-05/1.465, allocations: 170.3 kB / 0.539 GB, free: 9.207 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.833e-05/1.465, allocations: 15.91 kB / 0.539 GB, free: 9.191 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/1.466, allocations: 302.7 kB / 0.5393 GB, free: 8.902 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-05/1.466, allocations: 99.8 kB / 0.5394 GB, free: 8.809 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-06/1.466, allocations: 0 / 0.5394 GB, free: 8.809 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/1.466, allocations: 0 / 0.5394 GB, free: 8.809 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000453/1.466, allocations: 0.4944 MB / 0.5399 GB, free: 8.344 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/1.466, allocations: 0 / 0.5399 GB, free: 8.344 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/1.466, allocations: 48.25 kB / 0.5399 GB, free: 8.301 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/1.466, allocations: 0 / 0.5399 GB, free: 8.301 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/1.466, allocations: 4 kB / 0.5399 GB, free: 8.297 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.466, allocations: 0 / 0.5399 GB, free: 8.297 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.466, allocations: 4.5 kB / 0.5399 GB, free: 8.293 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/1.466, allocations: 282.9 kB / 0.5402 GB, free: 8.012 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.085e-05/1.466, allocations: 25.27 kB / 0.5402 GB, free: 7.992 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/1.466, allocations: 11.72 kB / 0.5402 GB, free: 7.984 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.041e-05/1.467, allocations: 4 kB / 0.5402 GB, free: 7.98 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.953e-05/1.467, allocations: 12.41 kB / 0.5402 GB, free: 7.973 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/1.467, allocations: 4 kB / 0.5402 GB, free: 7.969 MB / 458.8 MB Notification: Performance of sorting global known variables: time 7.243e-05/1.467, allocations: 177.6 kB / 0.5404 GB, free: 7.805 MB / 458.8 MB Notification: Performance of sort global known variables: time 5.1e-08/1.467, allocations: 0 / 0.5404 GB, free: 7.805 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.00419/1.471, allocations: 1.195 MB / 0.5416 GB, free: 6.684 MB / 458.8 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.006355/1.477, allocations: 1.983 MB / 0.5435 GB, free: 4.988 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0002435/1.477, allocations: 130 kB / 0.5436 GB, free: 4.863 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.477, allocations: 0 / 0.5436 GB, free: 4.863 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 3.891e-05/1.477, allocations: 45.78 kB / 0.5437 GB, free: 4.824 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/1.478, allocations: 90.06 kB / 0.5438 GB, free: 4.754 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000776/1.479, allocations: 440.2 kB / 0.5442 GB, free: 4.32 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.181e-05/1.479, allocations: 83.97 kB / 0.5443 GB, free: 4.219 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 8.095e-05/1.479, allocations: 22.69 kB / 0.5443 GB, free: 4.199 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/1.479, allocations: 128.1 kB / 0.5444 GB, free: 4.078 MB / 458.8 MB Notification: Performance of SimCode: time 1.092e-06/1.479, allocations: 0 / 0.5444 GB, free: 4.078 MB / 458.8 MB Notification: Performance of Templates: time 0.04898/1.528, allocations: 48.52 MB / 0.5918 GB, free: 3.84 MB / 0.4949 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: 5.505455808248371]