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.852/0.852, allocations: 120.4 MB / 140.1 MB, free: 28 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 0.0005464/0.0005464, allocations: 15.98 kB / 217.7 MB, free: 12.96 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05473/0.05527, allocations: 33.36 MB / 251.1 MB, free: 11.54 MB / 238.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.745/1.8, allocations: 253.9 MB / 0.4931 GB, free: 15.08 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.04331/1.844, allocations: 30.47 MB / 0.5229 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/1.844, allocations: 0 / 0.5229 GB, free: 0.7422 MB / 478.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.0003474/1.844, allocations: 100.5 kB / 0.523 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/1.844, allocations: 87.33 kB / 0.5231 GB, free: 0.5586 MB / 478.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.02464/1.869, allocations: 9.679 MB / 0.5325 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004895/1.87, allocations: 286.7 kB / 0.5328 GB, free: 6.586 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/1.87, allocations: 80.45 kB / 0.5329 GB, free: 6.508 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/1.87, allocations: 131.4 kB / 0.533 GB, free: 6.379 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/1.87, allocations: 87.56 kB / 0.5331 GB, free: 6.293 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/1.87, allocations: 16 kB / 0.5331 GB, free: 6.277 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0314/1.902, allocations: 16.75 MB / 0.5495 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.988e-05/1.902, allocations: 47.84 kB / 0.5495 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001443/1.902, allocations: 91.53 kB / 0.5496 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01735/1.919, allocations: 8.408 MB / 0.5578 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.919, allocations: 0 / 0.5578 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.493e-06/1.919, allocations: 0 / 0.5578 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.374e-06/1.919, allocations: 0 / 0.5578 GB, free: 12.94 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.003634/1.923, allocations: 1.368 MB / 0.5591 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/1.923, allocations: 12.03 kB / 0.5591 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/1.923, allocations: 23.86 kB / 0.5592 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/1.923, allocations: 167.2 kB / 0.5593 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/1.923, allocations: 20.31 kB / 0.5593 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/1.923, allocations: 20 kB / 0.5594 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004636/1.924, allocations: 260.8 kB / 0.5596 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/1.924, allocations: 3.938 kB / 0.5596 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/1.924, allocations: 11.98 kB / 0.5596 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/1.924, allocations: 8 kB / 0.5596 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/1.924, allocations: 140.4 kB / 0.5598 GB, free: 10.83 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.02046/1.945, allocations: 5.788 MB / 0.5654 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/1.945, allocations: 62.55 kB / 0.5655 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/1.945, allocations: 49.64 kB / 0.5655 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1641/2.109, allocations: 43.57 MB / 0.6081 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/2.109, allocations: 34.5 kB / 0.6081 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 2.084e-06/2.109, allocations: 0 / 0.6081 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22): time 0.0005687/2.11, allocations: 203.9 kB / 0.6083 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/2.11, allocations: 51.41 kB / 0.6084 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/2.11, allocations: 165.5 kB / 0.6085 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/2.11, allocations: 25.7 kB / 0.6085 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/2.11, allocations: 148.7 kB / 0.6087 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.379e-05/2.11, allocations: 79.3 kB / 0.6088 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.89e-05/2.11, allocations: 49.59 kB / 0.6088 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001517/2.11, allocations: 322.8 kB / 0.6091 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/2.11, allocations: 59.91 kB / 0.6092 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/2.11, allocations: 89.02 kB / 0.6093 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/2.111, allocations: 160.1 kB / 0.6094 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/2.111, allocations: 0 / 0.6094 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003747/2.111, allocations: 195.8 kB / 0.6096 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/2.111, allocations: 8 kB / 0.6096 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/2.111, allocations: 128 / 0.6096 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/2.111, allocations: 4 kB / 0.6096 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007355/2.112, allocations: 95.88 kB / 0.6097 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/2.112, allocations: 0 / 0.6097 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/2.112, allocations: 19.88 kB / 0.6097 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/2.112, allocations: 12 kB / 0.6097 GB, free: 7.465 MB / 0.5606 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.0001411/2.112, allocations: 133.7 kB / 0.6099 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/2.112, allocations: 15.84 kB / 0.6099 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005085/2.113, allocations: 331.2 kB / 0.6102 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002782/2.113, allocations: 153.5 kB / 0.6103 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/2.113, allocations: 0 / 0.6103 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/2.113, allocations: 3.984 kB / 0.6103 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008453/2.114, allocations: 0.5219 MB / 0.6108 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/2.114, allocations: 0 / 0.6108 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005959/2.114, allocations: 95.88 kB / 0.6109 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/2.114, allocations: 0 / 0.6109 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/2.114, allocations: 8.031 kB / 0.6109 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/2.114, allocations: 0 / 0.6109 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/2.114, allocations: 0 / 0.6109 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004436/2.115, allocations: 295.4 kB / 0.6112 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.414e-05/2.115, allocations: 23.83 kB / 0.6112 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/2.115, allocations: 4 kB / 0.6112 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/2.115, allocations: 4 kB / 0.6113 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/2.115, allocations: 11.98 kB / 0.6113 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/2.115, allocations: 8 kB / 0.6113 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001725/2.115, allocations: 152.8 kB / 0.6114 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/2.115, allocations: 0 / 0.6114 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002969/2.118, allocations: 1.2 MB / 0.6126 GB, free: 4.422 MB / 0.5606 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.004523/2.123, allocations: 1.73 MB / 0.6143 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004741/2.123, allocations: 181.4 kB / 0.6145 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/2.123, allocations: 0 / 0.6145 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/2.123, allocations: 75.83 kB / 0.6145 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005973/2.124, allocations: 72.33 kB / 0.6146 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008205/2.125, allocations: 466.5 kB / 0.615 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/2.125, allocations: 146.5 kB / 0.6152 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.848e-05/2.125, allocations: 17.14 kB / 0.6152 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/2.125, allocations: 24.5 kB / 0.6152 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/2.125, allocations: 0 / 0.6152 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of Templates: time 0.0608/2.186, allocations: 40.73 MB / 0.655 GB, free: 8.969 MB / 0.6075 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 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestInvSingularPressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.150930476957] Failed to read output from testmodel.py, exit status != 0: 2.4762346459319815 2.485530053 0.564005054 Calling exit ...