Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.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.5657/0.5657, allocations: 120.4 MB / 140.2 MB, free: 12.99 MB / 138.7 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.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") translateModel(ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.766e-06/2.766e-06, allocations: 0 / 218 MB, free: 8.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.423e-05, allocations: 4.688 kB / 218 MB, free: 8.609 MB / 202.7 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.TestPipePressureLoss): time 0.9789/0.9789, allocations: 254.3 MB / 472.3 MB, free: 8.824 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.2338/1.213, allocations: 30.52 MB / 0.491 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002714/1.213, allocations: 2.312 kB / 0.491 GB, free: 0.9062 MB / 442.7 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/PipePressureLoss.mo:35:3-37: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/PipePressureLoss.mo:38:3-40: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.0004256/1.213, allocations: 103 kB / 0.4911 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002483/1.214, allocations: 125.3 kB / 0.4912 GB, free: 0.8984 MB / 442.7 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.02004/1.234, allocations: 9.768 MB / 0.5008 GB, free: 15.11 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004753/1.234, allocations: 360.5 kB / 0.5011 GB, free: 14.98 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/1.234, allocations: 90.62 kB / 0.5012 GB, free: 14.96 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/1.235, allocations: 227 kB / 0.5014 GB, free: 14.85 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/1.235, allocations: 75.03 kB / 0.5015 GB, free: 14.82 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/1.235, allocations: 17.62 kB / 0.5015 GB, free: 14.82 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02282/1.258, allocations: 16.79 MB / 0.5179 GB, free: 3.172 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.93e-05/1.258, allocations: 42.73 kB / 0.5179 GB, free: 3.133 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001479/1.258, allocations: 89.47 kB / 0.518 GB, free: 3.051 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0154/1.273, allocations: 10.81 MB / 0.5286 GB, free: 8.734 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/1.273, allocations: 2.844 kB / 0.5286 GB, free: 8.734 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.703e-06/1.273, allocations: 0 / 0.5286 GB, free: 8.734 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/1.273, allocations: 0 / 0.5286 GB, free: 8.734 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.003283/1.277, allocations: 1.405 MB / 0.53 GB, free: 7.297 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/1.277, allocations: 8.844 kB / 0.53 GB, free: 7.289 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.639e-05/1.277, allocations: 36.55 kB / 0.53 GB, free: 7.254 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/1.277, allocations: 173.6 kB / 0.5302 GB, free: 7.062 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/1.277, allocations: 20.44 kB / 0.5302 GB, free: 7.043 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/1.277, allocations: 16 kB / 0.5302 GB, free: 7.027 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/1.277, allocations: 303.8 kB / 0.5305 GB, free: 6.707 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/1.277, allocations: 0 / 0.5305 GB, free: 6.707 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/1.277, allocations: 8.75 kB / 0.5305 GB, free: 6.699 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/1.277, allocations: 19.05 kB / 0.5305 GB, free: 6.684 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/1.277, allocations: 169.2 kB / 0.5307 GB, free: 6.516 MB / 474.7 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.0179/1.295, allocations: 10.77 MB / 0.5412 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/1.296, allocations: 119.6 kB / 0.5413 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.007e-05/1.296, allocations: 72.84 kB / 0.5414 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0721/1.368, allocations: 43.56 MB / 0.5839 GB, free: 68 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/1.368, allocations: 39.61 kB / 0.584 GB, free: 20 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 1.974e-06/1.368, allocations: 0 / 0.584 GB, free: 20 kB / 0.5105 GB Notification: Performance of matching and sorting (n=34): time 0.0007373/1.369, allocations: 366.9 kB / 0.5843 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/1.369, allocations: 56.16 kB / 0.5844 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/1.369, allocations: 186.9 kB / 0.5845 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/1.369, allocations: 29.7 kB / 0.5846 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.388e-05/1.369, allocations: 158.7 kB / 0.5847 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/1.369, allocations: 112.6 kB / 0.5848 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/1.369, allocations: 49.7 kB / 0.5849 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.276e-05/1.369, allocations: 330.8 kB / 0.5852 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.377e-05/1.369, allocations: 71.97 kB / 0.5853 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.382e-05/1.369, allocations: 118.3 kB / 0.5854 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/1.369, allocations: 219 kB / 0.5856 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.369, allocations: 0 / 0.5856 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002729/1.37, allocations: 291.1 kB / 0.5859 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/1.37, allocations: 4 kB / 0.5859 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/1.37, allocations: 0 / 0.5859 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005309/1.37, allocations: 171.1 kB / 0.586 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.516e-05/1.37, allocations: 8.5 kB / 0.586 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004278/1.371, allocations: 0.6312 MB / 0.5866 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.008e-05/1.371, allocations: 23.88 kB / 0.5867 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/1.371, allocations: 13.56 kB / 0.5867 GB, free: 13.12 MB / 0.5261 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 (pipePressureLoss.C2.b,pipePressureLoss.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 (11): * Single equations (assignments): 8 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 9.734e-05/1.371, allocations: 137.8 kB / 0.5868 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/1.371, allocations: 19.8 kB / 0.5868 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004849/1.371, allocations: 0.5943 MB / 0.5874 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001965/1.371, allocations: 215.1 kB / 0.5876 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.371, allocations: 4 kB / 0.5876 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.371, allocations: 4 kB / 0.5876 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/1.372, allocations: 0.6243 MB / 0.5882 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/1.372, allocations: 4 kB / 0.5882 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.033e-05/1.372, allocations: 17.12 kB / 0.5883 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002254/1.372, allocations: 112.8 kB / 0.5884 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/1.372, allocations: 0 / 0.5884 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002952/1.373, allocations: 0.66 MB / 0.589 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.373, allocations: 5.438 kB / 0.589 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/1.373, allocations: 333.2 kB / 0.5893 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.023e-05/1.373, allocations: 27.83 kB / 0.5894 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/1.373, allocations: 7.891 kB / 0.5894 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.185e-05/1.373, allocations: 8 kB / 0.5894 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/1.373, allocations: 9.797 kB / 0.5894 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/1.373, allocations: 5.781 kB / 0.5894 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001355/1.373, allocations: 209.3 kB / 0.5896 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/1.373, allocations: 4 kB / 0.5896 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00246/1.376, allocations: 1.208 MB / 0.5908 GB, free: 8.77 MB / 0.5261 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 (11): * Single equations (assignments): 10 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003605/1.379, allocations: 1.905 MB / 0.5926 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000374/1.38, allocations: 221.9 kB / 0.5928 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.38, allocations: 0 / 0.5928 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/1.38, allocations: 79.97 kB / 0.5929 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/1.38, allocations: 111.7 kB / 0.593 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008266/1.381, allocations: 0.5201 MB / 0.5935 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/1.381, allocations: 160.8 kB / 0.5937 GB, free: 5.961 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.577e-05/1.381, allocations: 21.91 kB / 0.5937 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of SimCode: time 6.81e-07/1.381, allocations: 7.938 kB / 0.5937 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of Templates: time 0.02719/1.408, allocations: 25 MB / 0.6181 GB, free: 13.06 MB / 0.5573 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestPipePressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.661572005599737] Failed to read output from testmodel.py, exit status != 0: 1.6428434681147337 1.5577903020000001 0.28276473 Calling exit ...