Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.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.7981/0.7981, allocations: 152.6 MB / 169.6 MB, free: 14.91 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.Fluid.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.0004819, allocations: 15.45 kB / 245.6 MB, free: 15.6 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05436/0.05484, allocations: 33.06 MB / 278.7 MB, free: 0.5859 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.Fluid.Examples.SimpleExamples.TestSingularPressureLoss): time 1.591/1.646, allocations: 301.1 MB / 0.5662 GB, free: 2.582 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4798/2.126, allocations: 188 MB / 0.7498 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/2.126, allocations: 7.75 kB / 0.7498 GB, free: 15.22 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:27:3-28:67:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/PressureLosses/SingularPressureLoss.mo:29:3-30:65:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0001099/2.126, allocations: 37.3 kB / 0.7499 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000236/2.127, allocations: 112.5 kB / 0.75 GB, free: 15.22 MB / 0.5919 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.02985/2.156, allocations: 11.53 MB / 0.7612 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004866/2.157, allocations: 374.9 kB / 0.7616 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/2.157, allocations: 147.9 kB / 0.7617 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/2.157, allocations: 153.2 kB / 0.7619 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/2.157, allocations: 156.8 kB / 0.762 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/2.157, allocations: 33.95 kB / 0.7621 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03586/2.193, allocations: 19.94 MB / 0.7815 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001525/2.193, allocations: 65.48 kB / 0.7816 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002397/2.194, allocations: 180.6 kB / 0.7818 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02558/2.219, allocations: 9.746 MB / 0.7913 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/2.219, allocations: 0 / 0.7913 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.703e-06/2.219, allocations: 0 / 0.7913 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.079e-05/2.219, allocations: 4 kB / 0.7913 GB, free: 2.215 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00495/2.224, allocations: 1.802 MB / 0.793 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/2.224, allocations: 10.16 kB / 0.7931 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.214e-05/2.224, allocations: 44.05 kB / 0.7931 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/2.225, allocations: 301.4 kB / 0.7934 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/2.225, allocations: 24.12 kB / 0.7934 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/2.225, allocations: 32.34 kB / 0.7934 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000515/2.225, allocations: 345.9 kB / 0.7938 GB, free: 356 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/2.225, allocations: 0 / 0.7938 GB, free: 356 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/2.225, allocations: 14.84 kB / 0.7938 GB, free: 344 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/2.225, allocations: 14.19 kB / 0.7938 GB, free: 340 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003752/2.226, allocations: 214.8 kB / 0.794 GB, free: 232 kB / 0.5919 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.00887/2.235, allocations: 6.086 MB / 0.7999 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/2.235, allocations: 58.53 kB / 0.8 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.569e-05/2.235, allocations: 20.89 kB / 0.8 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1634/2.398, allocations: 71.39 MB / 0.8697 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/2.398, allocations: 34.56 kB / 0.8698 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/2.398, allocations: 0 / 0.8698 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of matching and sorting (n=5): time 0.0007048/2.399, allocations: 229.5 kB / 0.87 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/2.399, allocations: 59.41 kB / 0.87 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003774/2.399, allocations: 274.6 kB / 0.8703 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/2.399, allocations: 29.7 kB / 0.8703 GB, free: 10.33 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/2.4, allocations: 228.8 kB / 0.8706 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/2.4, allocations: 22.73 kB / 0.8706 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.608e-05/2.4, allocations: 53.66 kB / 0.8706 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001633/2.4, allocations: 330.8 kB / 0.8709 GB, free: 9.695 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.681e-05/2.4, allocations: 35.98 kB / 0.871 GB, free: 9.66 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/2.4, allocations: 140.9 kB / 0.8711 GB, free: 9.477 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/2.4, allocations: 193.5 kB / 0.8713 GB, free: 9.238 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/2.4, allocations: 0 / 0.8713 GB, free: 9.238 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000509/2.401, allocations: 251.8 kB / 0.8715 GB, free: 8.984 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/2.401, allocations: 13.19 kB / 0.8715 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/2.401, allocations: 480 / 0.8715 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000814/2.402, allocations: 116.7 kB / 0.8717 GB, free: 8.855 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/2.402, allocations: 35.92 kB / 0.8717 GB, free: 8.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005088/2.402, allocations: 0.564 MB / 0.8722 GB, free: 8.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/2.403, allocations: 28.34 kB / 0.8723 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/2.403, allocations: 15.94 kB / 0.8723 GB, free: 8.188 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (singularPressureLoss.fluid,SourceP1.C.ftype,PuitsP1.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,singularPressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001594/2.403, allocations: 149.8 kB / 0.8724 GB, free: 8.031 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/2.403, allocations: 23.86 kB / 0.8724 GB, free: 8.008 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000341/2.403, allocations: 131.6 kB / 0.8726 GB, free: 7.867 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/2.403, allocations: 0 / 0.8726 GB, free: 7.867 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/2.403, allocations: 1.703 kB / 0.8726 GB, free: 7.867 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/2.403, allocations: 3.938 kB / 0.8726 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/2.403, allocations: 293.5 kB / 0.8729 GB, free: 7.527 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/2.403, allocations: 5.312 kB / 0.8729 GB, free: 7.523 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.413e-05/2.403, allocations: 0 / 0.8729 GB, free: 7.523 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004065/2.404, allocations: 76.58 kB / 0.8729 GB, free: 7.445 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/2.404, allocations: 4 kB / 0.8729 GB, free: 7.441 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004461/2.404, allocations: 0.5607 MB / 0.8735 GB, free: 6.855 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/2.404, allocations: 0 / 0.8735 GB, free: 6.855 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/2.405, allocations: 139.7 kB / 0.8736 GB, free: 6.699 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 9.114e-05/2.405, allocations: 100.9 kB / 0.8737 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/2.405, allocations: 5.203 kB / 0.8737 GB, free: 6.578 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.017e-05/2.405, allocations: 4 kB / 0.8737 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/2.405, allocations: 0 / 0.8737 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/2.405, allocations: 8.062 kB / 0.8737 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002286/2.405, allocations: 201.9 kB / 0.8739 GB, free: 6.371 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/2.405, allocations: 0 / 0.8739 GB, free: 6.371 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003985/2.409, allocations: 1.453 MB / 0.8753 GB, free: 4.914 MB / 0.6856 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 (2): * Single equations (assignments): 1 * 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.007407/2.416, allocations: 2.218 MB / 0.8775 GB, free: 2.961 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.000408/2.417, allocations: 100.5 kB / 0.8776 GB, free: 2.863 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/2.417, allocations: 192 / 0.8776 GB, free: 2.863 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/2.417, allocations: 35.97 kB / 0.8776 GB, free: 2.828 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/2.417, allocations: 68.31 kB / 0.8777 GB, free: 2.77 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008891/2.418, allocations: 462.6 kB / 0.8781 GB, free: 2.285 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/2.419, allocations: 0.7558 MB / 0.8789 GB, free: 1.504 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.191e-05/2.419, allocations: 23.44 kB / 0.8789 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of SimCode: time 3.9e-07/2.419, allocations: 0 / 0.8789 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of Templates: time 0.04388/2.463, allocations: 28.62 MB / 0.9069 GB, free: 4.883 MB / 0.7169 GB " [Timeout remaining time 657] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSingularPressureLoss.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.919861861038953] Failed to read output from testmodel.py, exit status != 0: 2.615610230015591 2.842717471 0.620801266 Calling exit ...