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.9425/0.9425, allocations: 120.4 MB / 139.5 MB, free: 496 kB / 126.1 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 1.884e-06/1.884e-06, allocations: 0 / 217.2 MB, free: 13.72 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.487e-05, allocations: 6.281 kB / 217.2 MB, free: 13.71 MB / 206.1 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.521/1.521, allocations: 254.1 MB / 471.3 MB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2444/1.765, allocations: 30.49 MB / 0.4901 GB, free: 8.059 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001682/1.765, allocations: 5.312 kB / 0.4901 GB, free: 8.055 MB / 446.1 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.0003702/1.766, allocations: 95.88 kB / 0.4902 GB, free: 7.996 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/1.766, allocations: 90.33 kB / 0.4903 GB, free: 7.922 MB / 446.1 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.02699/1.793, allocations: 9.757 MB / 0.4998 GB, free: 1.402 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005405/1.793, allocations: 295.2 kB / 0.5001 GB, free: 1.199 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/1.794, allocations: 77.06 kB / 0.5001 GB, free: 1.129 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003422/1.794, allocations: 188.5 kB / 0.5003 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/1.794, allocations: 75.73 kB / 0.5004 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.166e-05/1.794, allocations: 16 kB / 0.5004 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03322/1.827, allocations: 16.78 MB / 0.5168 GB, free: 80 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.287e-05/1.827, allocations: 43.83 kB / 0.5168 GB, free: 36 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001823/1.828, allocations: 77.56 kB / 0.5169 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0227/1.85, allocations: 10.75 MB / 0.5274 GB, free: 5.18 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.85, allocations: 0 / 0.5274 GB, free: 5.18 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.432e-06/1.85, allocations: 0.6562 kB / 0.5274 GB, free: 5.18 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/1.85, allocations: 0 / 0.5274 GB, free: 5.18 MB / 478.1 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.003853/1.854, allocations: 1.373 MB / 0.5288 GB, free: 3.766 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/1.854, allocations: 12.03 kB / 0.5288 GB, free: 3.754 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.453e-05/1.854, allocations: 25.48 kB / 0.5288 GB, free: 3.73 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/1.855, allocations: 160.4 kB / 0.5289 GB, free: 3.551 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/1.855, allocations: 16.38 kB / 0.529 GB, free: 3.535 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/1.855, allocations: 16.66 kB / 0.529 GB, free: 3.52 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000484/1.855, allocations: 272.5 kB / 0.5292 GB, free: 3.23 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/1.855, allocations: 1.281 kB / 0.5292 GB, free: 3.23 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/1.855, allocations: 8 kB / 0.5292 GB, free: 3.223 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/1.855, allocations: 8 kB / 0.5293 GB, free: 3.215 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003261/1.855, allocations: 153.2 kB / 0.5294 GB, free: 3.066 MB / 478.1 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.0199/1.875, allocations: 5.77 MB / 0.535 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/1.876, allocations: 79.17 kB / 0.5351 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/1.876, allocations: 44.89 kB / 0.5352 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.163/2.039, allocations: 43.57 MB / 0.5777 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.479e-05/2.039, allocations: 30.56 kB / 0.5777 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 2.225e-06/2.039, allocations: 4 kB / 0.5777 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22): time 0.0006131/2.039, allocations: 205.9 kB / 0.5779 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/2.039, allocations: 52.34 kB / 0.578 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/2.04, allocations: 158.3 kB / 0.5781 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/2.04, allocations: 29.7 kB / 0.5782 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/2.04, allocations: 152.6 kB / 0.5783 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.166e-05/2.04, allocations: 79.27 kB / 0.5784 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-05/2.04, allocations: 37.7 kB / 0.5784 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001772/2.04, allocations: 326.8 kB / 0.5787 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/2.04, allocations: 51.98 kB / 0.5788 GB, free: 464 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/2.04, allocations: 88.27 kB / 0.5789 GB, free: 360 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/2.041, allocations: 152.2 kB / 0.579 GB, free: 192 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/2.041, allocations: 0.5625 kB / 0.579 GB, free: 192 kB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004171/2.041, allocations: 193 kB / 0.5792 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/2.041, allocations: 9.719 kB / 0.5792 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/2.041, allocations: 12 kB / 0.5792 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/2.041, allocations: 7.938 kB / 0.5792 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000758/2.042, allocations: 87.89 kB / 0.5793 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/2.042, allocations: 13.44 kB / 0.5793 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/2.042, allocations: 21.7 kB / 0.5793 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/2.042, allocations: 4 kB / 0.5793 GB, free: 15.85 MB / 0.5294 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 0.0001359/2.042, allocations: 131 kB / 0.5795 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/2.042, allocations: 11.91 kB / 0.5795 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005455/2.043, allocations: 331.7 kB / 0.5798 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002915/2.043, allocations: 160.7 kB / 0.58 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/2.043, allocations: 0.5625 kB / 0.58 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/2.043, allocations: 0 / 0.58 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009326/2.044, allocations: 0.5263 MB / 0.5805 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/2.044, allocations: 0 / 0.5805 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006014/2.045, allocations: 89.2 kB / 0.5806 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/2.045, allocations: 8.922 kB / 0.5806 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/2.045, allocations: 6.625 kB / 0.5806 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/2.045, allocations: 0 / 0.5806 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/2.045, allocations: 3.984 kB / 0.5806 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004731/2.045, allocations: 276.1 kB / 0.5808 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/2.045, allocations: 23.89 kB / 0.5809 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/2.045, allocations: 7.875 kB / 0.5809 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/2.045, allocations: 11.98 kB / 0.5809 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/2.045, allocations: 7.984 kB / 0.5809 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/2.045, allocations: 8.5 kB / 0.5809 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001645/2.045, allocations: 155.2 kB / 0.581 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/2.045, allocations: 0 / 0.581 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003064/2.049, allocations: 1.196 MB / 0.5822 GB, free: 12.81 MB / 0.5294 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.006073/2.055, allocations: 1.906 MB / 0.5841 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004991/2.055, allocations: 180.7 kB / 0.5842 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/2.055, allocations: 0 / 0.5842 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/2.055, allocations: 64.45 kB / 0.5843 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006595/2.056, allocations: 86.64 kB / 0.5844 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008548/2.057, allocations: 439.9 kB / 0.5848 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/2.057, allocations: 146.5 kB / 0.5849 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.869e-05/2.057, allocations: 21.66 kB / 0.585 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/2.057, allocations: 16.5 kB / 0.585 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of SimCode: time 4.4e-07/2.057, allocations: 0 / 0.585 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of Templates: time 0.06105/2.118, allocations: 40.92 MB / 0.6249 GB, free: 1.211 MB / 0.5606 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.219946589320898] Failed to read output from testmodel.py, exit status != 0: 2.2810773327946663 2.522407165 0.6693327689999999 Calling exit ...