Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.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.8486/0.8486, allocations: 152.6 MB / 171.4 MB, free: 5.996 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.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005971/0.0005971, allocations: 23.84 kB / 248.5 MB, free: 5.676 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1676, allocations: 33.05 MB / 281.5 MB, free: 3.742 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.Book.SimpleExamples.PressureLoss.TestDiaphragm): time 1.549/1.716, allocations: 301 MB / 0.5689 GB, free: 5.867 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.265/1.981, allocations: 34.86 MB / 0.6029 GB, free: 5.891 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002053/1.982, allocations: 1.688 kB / 0.6029 GB, free: 5.891 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45: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/Diaphragm.mo:30:3-32:42: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/Diaphragm.mo:33:3-35:37: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.0003748/1.982, allocations: 133.3 kB / 0.603 GB, free: 5.824 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001767/1.982, allocations: 117.8 kB / 0.6032 GB, free: 5.746 MB / 478.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.0245/2.007, allocations: 9.877 MB / 0.6128 GB, free: 1.316 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004633/2.007, allocations: 356.2 kB / 0.6131 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/2.007, allocations: 90.66 kB / 0.6132 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/2.007, allocations: 156.5 kB / 0.6134 GB, free: 0.957 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/2.008, allocations: 115.2 kB / 0.6135 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/2.008, allocations: 18.97 kB / 0.6135 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03538/2.043, allocations: 17.98 MB / 0.6311 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.534e-05/2.043, allocations: 48.61 kB / 0.6311 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002641/2.043, allocations: 135.3 kB / 0.6312 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02122/2.065, allocations: 8.491 MB / 0.6395 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/2.065, allocations: 5.906 kB / 0.6395 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/2.065, allocations: 0 / 0.6395 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.414e-06/2.065, allocations: 1.031 kB / 0.6395 GB, free: 8.668 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.004401/2.069, allocations: 1.44 MB / 0.6409 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/2.069, allocations: 8.031 kB / 0.641 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.939e-05/2.069, allocations: 27.81 kB / 0.641 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/2.069, allocations: 179.4 kB / 0.6412 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/2.069, allocations: 16.44 kB / 0.6412 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/2.069, allocations: 16 kB / 0.6412 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005051/2.07, allocations: 320 kB / 0.6415 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/2.07, allocations: 0 / 0.6415 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/2.07, allocations: 9.031 kB / 0.6415 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/2.07, allocations: 16.83 kB / 0.6415 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/2.07, allocations: 177.9 kB / 0.6417 GB, free: 6.391 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.03864/2.109, allocations: 11.29 MB / 0.6527 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004732/2.109, allocations: 126.6 kB / 0.6528 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/2.11, allocations: 68.84 kB / 0.6529 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1546/2.264, allocations: 42.49 MB / 0.6944 GB, free: 232 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/2.264, allocations: 34.56 kB / 0.6944 GB, free: 188 kB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 2.945e-06/2.264, allocations: 0 / 0.6944 GB, free: 188 kB / 0.545 GB Notification: Performance of matching and sorting (n=34): time 0.0009934/2.265, allocations: 343.6 kB / 0.6948 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.904e-05/2.265, allocations: 81.95 kB / 0.6948 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/2.265, allocations: 227 kB / 0.695 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/2.266, allocations: 29.7 kB / 0.6951 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/2.266, allocations: 156.7 kB / 0.6952 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.819e-05/2.266, allocations: 115 kB / 0.6953 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.593e-05/2.266, allocations: 54.27 kB / 0.6954 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001608/2.266, allocations: 342.8 kB / 0.6957 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/2.266, allocations: 75.98 kB / 0.6958 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/2.266, allocations: 132.8 kB / 0.6959 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/2.267, allocations: 239.5 kB / 0.6961 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/2.267, allocations: 0 / 0.6961 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004984/2.267, allocations: 299 kB / 0.6964 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/2.267, allocations: 7.938 kB / 0.6964 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/2.267, allocations: 4 kB / 0.6964 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/2.268, allocations: 141.9 kB / 0.6966 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.041e-05/2.268, allocations: 12 kB / 0.6966 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006175/2.269, allocations: 0.6246 MB / 0.6972 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/2.269, allocations: 31.73 kB / 0.6972 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/2.269, allocations: 5.016 kB / 0.6972 GB, free: 13.18 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (Diaphragm.C2.b,Diaphragm.C1.a,PuitsP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001391/2.269, allocations: 129.8 kB / 0.6974 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/2.269, allocations: 19.86 kB / 0.6974 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009945/2.27, allocations: 0.6065 MB / 0.698 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005651/2.271, allocations: 232.1 kB / 0.6982 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/2.271, allocations: 0 / 0.6982 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/2.271, allocations: 4 kB / 0.6982 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/2.272, allocations: 0.7014 MB / 0.6989 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/2.272, allocations: 0 / 0.6989 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.516e-05/2.272, allocations: 23.92 kB / 0.6989 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003735/2.272, allocations: 108.7 kB / 0.699 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/2.272, allocations: 5.188 kB / 0.699 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005699/2.273, allocations: 0.6458 MB / 0.6996 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/2.273, allocations: 0 / 0.6996 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006553/2.274, allocations: 350.5 kB / 0.7 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.73e-05/2.274, allocations: 31.91 kB / 0.7 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.763e-05/2.274, allocations: 11.94 kB / 0.7 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/2.274, allocations: 3.984 kB / 0.7 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/2.274, allocations: 11.98 kB / 0.7 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/2.274, allocations: 5.125 kB / 0.7 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002758/2.274, allocations: 240.1 kB / 0.7003 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/2.274, allocations: 0 / 0.7003 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003195/2.277, allocations: 1.231 MB / 0.7015 GB, free: 8.66 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005372/2.283, allocations: 1.777 MB / 0.7032 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000707/2.284, allocations: 221.5 kB / 0.7034 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/2.284, allocations: 320 / 0.7034 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002742/2.284, allocations: 95.88 kB / 0.7035 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008096/2.285, allocations: 127.2 kB / 0.7036 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009051/2.285, allocations: 0.5167 MB / 0.7041 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/2.286, allocations: 0.7675 MB / 0.7049 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001069/2.286, allocations: 29.3 kB / 0.7049 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/2.286, allocations: 19.44 kB / 0.7049 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of SimCode: time 6.91e-07/2.286, allocations: 0 / 0.7049 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of Templates: time 0.06251/2.349, allocations: 43.16 MB / 0.7471 GB, free: 10.41 MB / 0.6075 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.439419332891703] Failed to read output from testmodel.py, exit status != 0: 2.5147143583744764 2.745531067 0.6782114189999999 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f8ea06397b0>