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.8672/0.8672, allocations: 153.8 MB / 172.7 MB, free: 4.852 MB / 142.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.0005374/0.0005374, allocations: 7.984 kB / 250.3 MB, free: 3.863 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1549, allocations: 33.36 MB / 283.7 MB, free: 2.047 MB / 222.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.877/2.032, allocations: 307.4 MB / 0.5772 GB, free: 17.39 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03208/2.064, allocations: 30.47 MB / 0.607 GB, free: 2.973 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/2.065, allocations: 2.469 kB / 0.607 GB, free: 2.973 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.0003446/2.065, allocations: 108.1 kB / 0.6071 GB, free: 2.922 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/2.065, allocations: 88.48 kB / 0.6071 GB, free: 2.859 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.02477/2.09, allocations: 9.676 MB / 0.6166 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005065/2.09, allocations: 282.7 kB / 0.6169 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/2.091, allocations: 93.39 kB / 0.617 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/2.091, allocations: 127.5 kB / 0.6171 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/2.091, allocations: 87.5 kB / 0.6172 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/2.091, allocations: 16 kB / 0.6172 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03337/2.124, allocations: 16.75 MB / 0.6335 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.943e-05/2.124, allocations: 39.86 kB / 0.6336 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001748/2.125, allocations: 95.53 kB / 0.6337 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.019/2.144, allocations: 8.412 MB / 0.6419 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/2.144, allocations: 4 kB / 0.6419 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/2.144, allocations: 0 / 0.6419 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.883e-06/2.144, allocations: 0 / 0.6419 GB, free: 3.32 MB / 0.4981 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.003806/2.147, allocations: 1.361 MB / 0.6432 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/2.147, allocations: 12.03 kB / 0.6432 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.298e-05/2.148, allocations: 23.86 kB / 0.6432 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/2.148, allocations: 157.7 kB / 0.6434 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.415e-05/2.148, allocations: 20.31 kB / 0.6434 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/2.148, allocations: 16 kB / 0.6434 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/2.148, allocations: 268.6 kB / 0.6437 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/2.148, allocations: 5.719 kB / 0.6437 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/2.148, allocations: 11.98 kB / 0.6437 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/2.148, allocations: 8 kB / 0.6437 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/2.149, allocations: 146.2 kB / 0.6438 GB, free: 1.219 MB / 0.4981 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.02004/2.169, allocations: 5.781 MB / 0.6495 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/2.169, allocations: 67.53 kB / 0.6496 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/2.169, allocations: 44.89 kB / 0.6496 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1622/2.331, allocations: 43.58 MB / 0.6922 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/2.331, allocations: 38.5 kB / 0.6922 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.974e-06/2.331, allocations: 1.031 kB / 0.6922 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22): time 0.0005824/2.332, allocations: 199.4 kB / 0.6924 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/2.332, allocations: 51.41 kB / 0.6924 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/2.332, allocations: 159.1 kB / 0.6926 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/2.332, allocations: 29.7 kB / 0.6926 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/2.332, allocations: 152.6 kB / 0.6928 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.053e-05/2.332, allocations: 71.38 kB / 0.6928 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.351e-05/2.332, allocations: 45.66 kB / 0.6929 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001466/2.332, allocations: 322.8 kB / 0.6932 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/2.333, allocations: 51.98 kB / 0.6932 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/2.333, allocations: 92.19 kB / 0.6933 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/2.333, allocations: 161.7 kB / 0.6935 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/2.333, allocations: 0 / 0.6935 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003928/2.333, allocations: 194.2 kB / 0.6937 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/2.333, allocations: 8 kB / 0.6937 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/2.333, allocations: 0 / 0.6937 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/2.334, allocations: 0 / 0.6937 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007015/2.334, allocations: 100 kB / 0.6938 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/2.334, allocations: 0.75 kB / 0.6938 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/2.334, allocations: 19.89 kB / 0.6938 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/2.334, allocations: 9.531 kB / 0.6938 GB, free: 13.88 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.0001437/2.334, allocations: 138.5 kB / 0.6939 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/2.335, allocations: 19.84 kB / 0.6939 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005096/2.335, allocations: 330.1 kB / 0.6943 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002842/2.335, allocations: 162.9 kB / 0.6944 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/2.335, allocations: 0 / 0.6944 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/2.335, allocations: 3.984 kB / 0.6944 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008856/2.336, allocations: 0.514 MB / 0.6949 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/2.336, allocations: 3.938 kB / 0.6949 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005608/2.337, allocations: 96.66 kB / 0.695 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/2.337, allocations: 0.6562 kB / 0.695 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/2.337, allocations: 4 kB / 0.695 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/2.337, allocations: 1 kB / 0.695 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/2.337, allocations: 0 / 0.695 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004407/2.337, allocations: 292.1 kB / 0.6953 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/2.337, allocations: 19.84 kB / 0.6953 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/2.337, allocations: 7.984 kB / 0.6953 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/2.337, allocations: 8.562 kB / 0.6953 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.961e-05/2.337, allocations: 9.109 kB / 0.6953 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/2.337, allocations: 4.5 kB / 0.6953 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001561/2.338, allocations: 147.2 kB / 0.6955 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/2.338, allocations: 0 / 0.6955 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003201/2.341, allocations: 1.2 MB / 0.6967 GB, free: 10.84 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.005759/2.347, allocations: 1.746 MB / 0.6984 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005103/2.347, allocations: 177.5 kB / 0.6985 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/2.347, allocations: 0 / 0.6985 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/2.347, allocations: 71.89 kB / 0.6986 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006435/2.348, allocations: 80.77 kB / 0.6987 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008675/2.349, allocations: 458.7 kB / 0.6991 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/2.349, allocations: 142.5 kB / 0.6992 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.136e-05/2.349, allocations: 18.11 kB / 0.6993 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.93e-05/2.349, allocations: 23.42 kB / 0.6993 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/2.349, allocations: 0 / 0.6993 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of Templates: time 0.06139/2.41, allocations: 41.07 MB / 0.7394 GB, free: 15.47 MB / 0.6075 GB " [Timeout remaining time 657] 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.377821823582053] Failed to read output from testmodel.py, exit status != 0: 2.5655823294073343 2.786627568 0.640495421 Calling exit ...