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.6491/0.6491, allocations: 120.4 MB / 140.2 MB, free: 12.99 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.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 2.755e-06/2.755e-06, allocations: 0 / 218 MB, free: 8.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.272e-05/3.548e-05, allocations: 3.375 kB / 218 MB, free: 8.629 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.TestInvSingularPressureLoss): time 1.027/1.027, allocations: 254.1 MB / 472.1 MB, free: 9.012 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2658/1.292, allocations: 30.47 MB / 0.4908 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/1.293, allocations: 3.062 kB / 0.4908 GB, free: 0.9727 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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/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 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.0003588/1.293, allocations: 95.84 kB / 0.4909 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/1.293, allocations: 94.41 kB / 0.491 GB, free: 0.9727 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.02289/1.316, allocations: 9.762 MB / 0.5005 GB, free: 15.26 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005218/1.317, allocations: 295.2 kB / 0.5008 GB, free: 15.15 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/1.317, allocations: 86.11 kB / 0.5009 GB, free: 15.12 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000287/1.317, allocations: 180.1 kB / 0.5011 GB, free: 15.07 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/1.317, allocations: 64.66 kB / 0.5011 GB, free: 15.05 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/1.317, allocations: 16.47 kB / 0.5011 GB, free: 15.05 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02922/1.346, allocations: 16.79 MB / 0.5175 GB, free: 3.523 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.093e-05/1.346, allocations: 41.47 kB / 0.5176 GB, free: 3.488 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000161/1.347, allocations: 72.41 kB / 0.5176 GB, free: 3.422 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02174/1.368, allocations: 10.77 MB / 0.5281 GB, free: 9.145 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/1.368, allocations: 0 / 0.5281 GB, free: 9.145 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.763e-06/1.368, allocations: 0.5 kB / 0.5282 GB, free: 9.145 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/1.368, allocations: 0 / 0.5282 GB, free: 9.145 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.003845/1.372, allocations: 1.37 MB / 0.5295 GB, free: 7.742 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/1.372, allocations: 12.03 kB / 0.5295 GB, free: 7.73 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.559e-05/1.372, allocations: 29.34 kB / 0.5295 GB, free: 7.703 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/1.373, allocations: 158.1 kB / 0.5297 GB, free: 7.523 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/1.373, allocations: 12.38 kB / 0.5297 GB, free: 7.512 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/1.373, allocations: 20 kB / 0.5297 GB, free: 7.492 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/1.373, allocations: 269 kB / 0.53 GB, free: 7.207 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/1.373, allocations: 0.7188 kB / 0.53 GB, free: 7.207 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/1.373, allocations: 4.656 kB / 0.53 GB, free: 7.203 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/1.373, allocations: 16.7 kB / 0.53 GB, free: 7.188 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/1.373, allocations: 148.9 kB / 0.5301 GB, free: 7.043 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.009697/1.383, allocations: 5.79 MB / 0.5358 GB, free: 1.371 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/1.383, allocations: 63.31 kB / 0.5358 GB, free: 1.301 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.798e-05/1.383, allocations: 52.88 kB / 0.5359 GB, free: 1.246 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07355/1.457, allocations: 43.56 MB / 0.5784 GB, free: 5.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/1.457, allocations: 30.56 kB / 0.5785 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=22): time 1.874e-06/1.457, allocations: 0 / 0.5785 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22): time 0.0004231/1.457, allocations: 201.4 kB / 0.5787 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/1.457, allocations: 51.41 kB / 0.5787 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/1.457, allocations: 159.9 kB / 0.5789 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/1.457, allocations: 26.45 kB / 0.5789 GB, free: 5.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.197e-05/1.457, allocations: 159.2 kB / 0.579 GB, free: 5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/1.457, allocations: 72.81 kB / 0.5791 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/1.457, allocations: 41.64 kB / 0.5791 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.252e-05/1.457, allocations: 326.8 kB / 0.5795 GB, free: 4.555 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.914e-05/1.458, allocations: 55.98 kB / 0.5795 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.604e-05/1.458, allocations: 84.81 kB / 0.5796 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/1.458, allocations: 164.1 kB / 0.5797 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.458, allocations: 1.625 kB / 0.5798 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002179/1.458, allocations: 196.4 kB / 0.5799 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.458, allocations: 8 kB / 0.5799 GB, free: 4.023 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/1.458, allocations: 0 / 0.5799 GB, free: 4.023 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/1.458, allocations: 4 kB / 0.5799 GB, free: 4.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/1.458, allocations: 103.9 kB / 0.58 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/1.458, allocations: 0.75 kB / 0.58 GB, free: 3.918 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.371e-05/1.458, allocations: 15.89 kB / 0.5801 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/1.458, allocations: 4 kB / 0.5801 GB, free: 3.898 MB / 0.5105 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 9.795e-05/1.459, allocations: 134.4 kB / 0.5802 GB, free: 3.758 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/1.459, allocations: 15.84 kB / 0.5802 GB, free: 3.742 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000324/1.459, allocations: 333.4 kB / 0.5805 GB, free: 3.383 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001453/1.459, allocations: 155.2 kB / 0.5807 GB, free: 3.227 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.459, allocations: 0 / 0.5807 GB, free: 3.227 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/1.459, allocations: 6.688 kB / 0.5807 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000541/1.46, allocations: 0.5185 MB / 0.5812 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/1.46, allocations: 1.375 kB / 0.5812 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/1.46, allocations: 99.86 kB / 0.5813 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/1.46, allocations: 4 kB / 0.5813 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/1.46, allocations: 3.984 kB / 0.5813 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.46, allocations: 0 / 0.5813 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.46, allocations: 0.9844 kB / 0.5813 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/1.46, allocations: 283.1 kB / 0.5816 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/1.46, allocations: 27.83 kB / 0.5816 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/1.46, allocations: 0 / 0.5816 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.792e-05/1.46, allocations: 13.17 kB / 0.5816 GB, free: 2.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/1.46, allocations: 7.984 kB / 0.5816 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.72e-06/1.46, allocations: 4 kB / 0.5816 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.302e-05/1.46, allocations: 155.2 kB / 0.5818 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/1.46, allocations: 3.938 kB / 0.5818 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002493/1.463, allocations: 1.196 MB / 0.5829 GB, free: 0.8633 MB / 0.5105 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.003722/1.467, allocations: 1.91 MB / 0.5848 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003212/1.467, allocations: 181.5 kB / 0.585 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.467, allocations: 0 / 0.585 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8e-05/1.467, allocations: 63.91 kB / 0.585 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/1.467, allocations: 88.58 kB / 0.5851 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006002/1.468, allocations: 472.6 kB / 0.5856 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/1.468, allocations: 138.5 kB / 0.5857 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/1.468, allocations: 24.48 kB / 0.5857 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of SimCode: time 6.92e-07/1.468, allocations: 4 kB / 0.5857 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of Templates: time 0.02888/1.497, allocations: 23.32 MB / 0.6085 GB, free: 6.953 MB / 0.5417 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: 6.70157905574888] Failed to read output from testmodel.py, exit status != 0: 1.76900280918926 1.668608848 0.298356482 Calling exit ...