Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.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.8842/0.8842, allocations: 153.8 MB / 173.4 MB, free: 4.934 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.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0005555/0.0005555, allocations: 15.97 kB / 251 MB, free: 4.023 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.172, allocations: 33.37 MB / 284.4 MB, free: 2.137 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.Book.SimpleExamples.PressureLoss.TestBend): time 2.029/2.201, allocations: 307.5 MB / 0.5781 GB, free: 15.9 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03539/2.236, allocations: 35.35 MB / 0.6126 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003834/2.236, allocations: 2.75 kB / 0.6126 GB, free: 13.86 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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/Bend.mo:55:3-57: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 master/WaterSteam/PressureLosses/Bend.mo:58:3-60:43: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.0008536/2.237, allocations: 299.4 kB / 0.6129 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006817/2.238, allocations: 275.8 kB / 0.6131 GB, free: 13.68 MB / 494.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.03022/2.268, allocations: 10.08 MB / 0.623 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009784/2.269, allocations: 0.4949 MB / 0.6235 GB, free: 6.973 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003522/2.27, allocations: 165.5 kB / 0.6236 GB, free: 6.809 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005017/2.27, allocations: 251.1 kB / 0.6239 GB, free: 6.562 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004824/2.271, allocations: 323.7 kB / 0.6242 GB, free: 6.246 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.878e-05/2.271, allocations: 24.56 kB / 0.6242 GB, free: 6.223 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03797/2.309, allocations: 18.08 MB / 0.6418 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002564/2.309, allocations: 175.4 kB / 0.642 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003799/2.309, allocations: 270.2 kB / 0.6423 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02478/2.334, allocations: 8.898 MB / 0.651 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/2.334, allocations: 0 / 0.651 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.244e-06/2.334, allocations: 0 / 0.651 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.691e-05/2.334, allocations: 0 / 0.651 GB, free: 10.76 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.005565/2.34, allocations: 1.826 MB / 0.6527 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/2.34, allocations: 12.03 kB / 0.6528 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002595/2.34, allocations: 76.97 kB / 0.6528 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007213/2.341, allocations: 437 kB / 0.6532 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/2.341, allocations: 24.44 kB / 0.6533 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/2.341, allocations: 24 kB / 0.6533 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006627/2.341, allocations: 428.9 kB / 0.6537 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/2.341, allocations: 5.406 kB / 0.6537 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/2.341, allocations: 8 kB / 0.6537 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/2.341, allocations: 17.95 kB / 0.6537 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004908/2.342, allocations: 353.6 kB / 0.6541 GB, free: 7.48 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.03785/2.38, allocations: 11.82 MB / 0.6656 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006384/2.38, allocations: 150.6 kB / 0.6658 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/2.381, allocations: 80.84 kB / 0.6658 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1527/2.533, allocations: 43.44 MB / 0.7083 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/2.533, allocations: 38.5 kB / 0.7083 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=38): time 2.204e-06/2.533, allocations: 4 kB / 0.7083 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=38): time 0.001987/2.535, allocations: 0.5144 MB / 0.7088 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.643e-05/2.535, allocations: 110.8 kB / 0.7089 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/2.537, allocations: 1.008 MB / 0.7099 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/2.537, allocations: 33.7 kB / 0.7099 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/2.537, allocations: 300.5 kB / 0.7102 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/2.538, allocations: 139.6 kB / 0.7103 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/2.538, allocations: 57.69 kB / 0.7104 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002095/2.538, allocations: 378.8 kB / 0.7108 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/2.538, allocations: 160.4 kB / 0.7109 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/2.538, allocations: 244.2 kB / 0.7111 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004374/2.539, allocations: 340 kB / 0.7115 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/2.539, allocations: 0 / 0.7115 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008636/2.54, allocations: 0.5384 MB / 0.712 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/2.54, allocations: 13.14 kB / 0.712 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/2.54, allocations: 4 kB / 0.712 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001687/2.541, allocations: 221.2 kB / 0.7122 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.028e-05/2.541, allocations: 23.92 kB / 0.7122 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008029/2.542, allocations: 0.6668 MB / 0.7129 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/2.543, allocations: 47.61 kB / 0.7129 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/2.543, allocations: 12.94 kB / 0.713 GB, free: 10.79 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (Bend.C2.b,Bend.C1.a,SinkP1.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 (18): * Single equations (assignments): 15 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003023/2.543, allocations: 254.8 kB / 0.7132 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/2.543, allocations: 67.56 kB / 0.7133 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009166/2.544, allocations: 0.687 MB / 0.7139 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004/2.544, allocations: 251.8 kB / 0.7142 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/2.544, allocations: 0 / 0.7142 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/2.544, allocations: 4 kB / 0.7142 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/2.546, allocations: 0.9471 MB / 0.7151 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/2.546, allocations: 0 / 0.7151 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.24e-05/2.546, allocations: 23.94 kB / 0.7151 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009578/2.547, allocations: 178.6 kB / 0.7153 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/2.547, allocations: 4 kB / 0.7153 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007318/2.548, allocations: 0.7067 MB / 0.716 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/2.548, allocations: 3.938 kB / 0.716 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005767/2.548, allocations: 406.2 kB / 0.7164 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002278/2.548, allocations: 92.05 kB / 0.7165 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.629e-05/2.549, allocations: 17.25 kB / 0.7165 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/2.549, allocations: 16.06 kB / 0.7165 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/2.549, allocations: 15.91 kB / 0.7165 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/2.549, allocations: 4 kB / 0.7165 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001068/2.55, allocations: 0.8152 MB / 0.7173 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/2.55, allocations: 0.6562 kB / 0.7173 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003539/2.553, allocations: 1.278 MB / 0.7186 GB, free: 4.863 MB / 0.5762 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 (12): * Single equations (assignments): 11 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00614/2.56, allocations: 1.801 MB / 0.7203 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008542/2.56, allocations: 344.1 kB / 0.7207 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/2.56, allocations: 0 / 0.7207 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003184/2.561, allocations: 105.2 kB / 0.7208 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009937/2.562, allocations: 153 kB / 0.7209 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/2.564, allocations: 1.195 MB / 0.7221 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006155/2.565, allocations: 0.9323 MB / 0.723 GB, free: 336 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.725e-05/2.565, allocations: 35.44 kB / 0.723 GB, free: 300 kB / 0.5762 GB Notification: Performance of SimCode: time 6.81e-07/2.565, allocations: 0 / 0.723 GB, free: 300 kB / 0.5762 GB Notification: Performance of Templates: time 0.0493/2.614, allocations: 30.01 MB / 0.7523 GB, free: 2.703 MB / 0.6075 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.830055125057697] Failed to read output from testmodel.py, exit status != 0: 3.0509040218312293 3.061904489 0.725334759 Calling exit ...