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 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7859/0.7859, allocations: 152.6 MB / 169.6 MB, free: 14.94 MB / 142.1 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 0.0004671/0.0004671, allocations: 18.92 kB / 245.6 MB, free: 15.73 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0517/0.05217, allocations: 33.05 MB / 278.7 MB, free: 0.7344 MB / 222.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss): time 1.521/1.573, allocations: 301 MB / 0.566 GB, free: 2.805 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0404/1.613, allocations: 34.52 MB / 0.5998 GB, free: 144 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/1.613, allocations: 0 / 0.5998 GB, free: 144 kB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourcePQ.mo:29:3-30:52: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 4.0.0-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 4.0.0-master/WaterSteam/PressureLosses/InvSingularPressureLoss.mo:26:3-28: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 4.0.0-master/WaterSteam/PressureLosses/InvSingularPressureLoss.mo:29:3-30:83: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.0003374/1.614, allocations: 129.1 kB / 0.5999 GB, free: 16 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/1.614, allocations: 87.44 kB / 0.6 GB, free: 15.93 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.02165/1.635, allocations: 9.731 MB / 0.6095 GB, free: 6.184 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004151/1.636, allocations: 274.8 kB / 0.6097 GB, free: 5.914 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/1.636, allocations: 92.09 kB / 0.6098 GB, free: 5.824 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/1.636, allocations: 111.5 kB / 0.6099 GB, free: 5.715 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/1.636, allocations: 103.5 kB / 0.61 GB, free: 5.613 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/1.636, allocations: 16 kB / 0.61 GB, free: 5.598 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02898/1.665, allocations: 17.9 MB / 0.6275 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.36e-05/1.665, allocations: 43.86 kB / 0.6276 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001554/1.666, allocations: 111.4 kB / 0.6277 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01641/1.682, allocations: 8.384 MB / 0.6359 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.682, allocations: 0 / 0.6359 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.413e-06/1.682, allocations: 0 / 0.6359 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.384e-06/1.682, allocations: 0 / 0.6359 GB, free: 11.12 MB / 0.5137 GB 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.003573/1.686, allocations: 1.451 MB / 0.6373 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/1.686, allocations: 12.03 kB / 0.6373 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.007e-05/1.686, allocations: 27.8 kB / 0.6373 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/1.686, allocations: 226.7 kB / 0.6375 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/1.686, allocations: 12.38 kB / 0.6375 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/1.686, allocations: 16 kB / 0.6376 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004366/1.686, allocations: 265.9 kB / 0.6378 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/1.686, allocations: 4 kB / 0.6378 GB, free: 9 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/1.686, allocations: 12 kB / 0.6378 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/1.686, allocations: 8 kB / 0.6378 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000344/1.687, allocations: 148.4 kB / 0.638 GB, free: 8.836 MB / 0.5137 GB 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.02003/1.707, allocations: 9.554 MB / 0.6473 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/1.707, allocations: 66.55 kB / 0.6474 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/1.707, allocations: 52.83 kB / 0.6474 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3077/2.015, allocations: 77.73 MB / 0.7233 GB, free: 216.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/2.015, allocations: 33.38 kB / 0.7234 GB, free: 216.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=22): time 2.034e-06/2.015, allocations: 0 / 0.7234 GB, free: 216.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22): time 0.0004526/2.015, allocations: 200.2 kB / 0.7235 GB, free: 216.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.692e-05/2.015, allocations: 51.41 kB / 0.7236 GB, free: 216.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/2.015, allocations: 242.8 kB / 0.7238 GB, free: 216.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.715e-06/2.015, allocations: 25.7 kB / 0.7239 GB, free: 216.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.352e-05/2.015, allocations: 139.7 kB / 0.724 GB, free: 216 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/2.016, allocations: 80.62 kB / 0.7241 GB, free: 216 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/2.016, allocations: 35.27 kB / 0.7241 GB, free: 216 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.194e-05/2.016, allocations: 335.5 kB / 0.7244 GB, free: 215.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.465e-05/2.016, allocations: 53.11 kB / 0.7245 GB, free: 215.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.759e-05/2.016, allocations: 91.88 kB / 0.7246 GB, free: 215.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/2.016, allocations: 150.1 kB / 0.7247 GB, free: 215.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/2.016, allocations: 2.875 kB / 0.7247 GB, free: 215.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000265/2.016, allocations: 202.4 kB / 0.7249 GB, free: 215.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/2.016, allocations: 5.781 kB / 0.7249 GB, free: 215.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/2.016, allocations: 0 / 0.7249 GB, free: 215.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/2.016, allocations: 2.875 kB / 0.7249 GB, free: 215.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000617/2.017, allocations: 102.7 kB / 0.725 GB, free: 215.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/2.017, allocations: 2.25 kB / 0.725 GB, free: 215.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/2.017, allocations: 29.36 kB / 0.725 GB, free: 215.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/2.017, allocations: 6.25 kB / 0.725 GB, free: 215.5 MB / 0.5919 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 (invSingularPressureLoss.C2.b,invSingularPressureLoss.C1.a,sinkQ.C.a,sourcePQ.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): 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 7.056e-05/2.017, allocations: 134.5 kB / 0.7252 GB, free: 215.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/2.017, allocations: 18.86 kB / 0.7252 GB, free: 215.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003294/2.017, allocations: 329.7 kB / 0.7255 GB, free: 215.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001871/2.018, allocations: 155.6 kB / 0.7256 GB, free: 215.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/2.018, allocations: 0 / 0.7256 GB, free: 215.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/2.018, allocations: 2.656 kB / 0.7256 GB, free: 215.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005989/2.018, allocations: 0.6049 MB / 0.7262 GB, free: 214.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/2.018, allocations: 7.172 kB / 0.7262 GB, free: 214.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004818/2.019, allocations: 88.3 kB / 0.7263 GB, free: 214.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/2.019, allocations: 3.625 kB / 0.7263 GB, free: 214.9 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/2.019, allocations: 7.125 kB / 0.7263 GB, free: 214.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/2.019, allocations: 2.062 kB / 0.7263 GB, free: 214.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/2.019, allocations: 6.844 kB / 0.7263 GB, free: 214.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002909/2.019, allocations: 292.8 kB / 0.7266 GB, free: 214.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/2.019, allocations: 107 kB / 0.7267 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/2.019, allocations: 6.469 kB / 0.7267 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/2.019, allocations: 3.938 kB / 0.7267 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/2.019, allocations: 10.06 kB / 0.7267 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/2.019, allocations: 9.109 kB / 0.7268 GB, free: 214.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001325/2.019, allocations: 209.2 kB / 0.727 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/2.019, allocations: 0 / 0.727 GB, free: 214.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002182/2.022, allocations: 1.188 MB / 0.7281 GB, free: 214.5 MB / 0.5919 GB 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.003639/2.025, allocations: 1.742 MB / 0.7298 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003528/2.026, allocations: 171.2 kB / 0.73 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/2.026, allocations: 0 / 0.73 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/2.026, allocations: 69.61 kB / 0.73 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005507/2.026, allocations: 96.39 kB / 0.7301 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005943/2.027, allocations: 497.3 kB / 0.7306 GB, free: 214 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/2.027, allocations: 0.7537 MB / 0.7313 GB, free: 213.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/2.027, allocations: 25.38 kB / 0.7314 GB, free: 213.3 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/2.027, allocations: 5.031 kB / 0.7314 GB, free: 213.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.0229/2.05, allocations: 23.29 MB / 0.7541 GB, free: 199.2 MB / 0.5919 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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.759396213106811] Failed to read output from testmodel.py, exit status != 0: 2.1590861580334604 2.167060439 0.483104038 Calling exit ...