Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.5/1.5, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.3303/0.3303, allocations: 49.56 MB / 337.1 MB, free: 4.105 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003432/0.003432, allocations: 76.5 kB / 477.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1625, allocations: 62.42 MB / 0.5274 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.3816/0.5441, allocations: 42.61 MB / 0.569 GB, free: 14.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0159/0.56, allocations: 9.932 MB / 0.5787 GB, free: 7.086 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007104/0.5607, allocations: 17.16 kB / 0.5787 GB, free: 7.074 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009774/0.5616, allocations: 228.9 kB / 0.5789 GB, free: 6.938 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009786/0.5626, allocations: 302.9 kB / 0.5792 GB, free: 6.738 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01799/0.5806, allocations: 4.752 MB / 0.5838 GB, free: 3.953 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001773/0.5824, allocations: 0.7592 MB / 0.5846 GB, free: 3.516 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004591/0.5829, allocations: 208.4 kB / 0.5848 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005087/0.5834, allocations: 296.1 kB / 0.5851 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005056/0.5839, allocations: 296.8 kB / 0.5853 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.659e-05/0.5839, allocations: 29.34 kB / 0.5854 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01658/0.6005, allocations: 6.257 MB / 0.5915 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002974/0.6008, allocations: 80.62 kB / 0.5916 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008485/0.6016, allocations: 244.7 kB / 0.5918 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01745/0.6191, allocations: 3.78 MB / 0.5955 GB, free: 13.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.6191, allocations: 0 / 0.5955 GB, free: 13.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.6191, allocations: 0 / 0.5955 GB, free: 13.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.6191, allocations: 0 / 0.5955 GB, free: 13.15 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.005762/0.6249, allocations: 1.123 MB / 0.5966 GB, free: 12.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.096e-05/0.625, allocations: 9.469 kB / 0.5966 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003122/0.6253, allocations: 87.08 kB / 0.5967 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007747/0.626, allocations: 322.6 kB / 0.597 GB, free: 12.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/0.6261, allocations: 25.22 kB / 0.597 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.399e-05/0.6261, allocations: 26.81 kB / 0.597 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009327/0.6271, allocations: 394.7 kB / 0.5974 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.6271, allocations: 1.531 kB / 0.5974 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.6271, allocations: 11.22 kB / 0.5974 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.6271, allocations: 6.719 kB / 0.5974 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007023/0.6278, allocations: 258.5 kB / 0.5977 GB, free: 11.6 MB / 446.1 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.002706/0.6305, allocations: 1.989 MB / 0.5996 GB, free: 9.633 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004623/0.631, allocations: 144.4 kB / 0.5997 GB, free: 9.551 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.6312, allocations: 68.55 kB / 0.5998 GB, free: 9.516 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05923/0.6904, allocations: 16.75 MB / 0.6162 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.578e-05/0.6905, allocations: 42.55 kB / 0.6162 GB, free: 10.39 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 2.895e-06/0.6905, allocations: 0 / 0.6162 GB, free: 10.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.002678/0.6932, allocations: 0.4958 MB / 0.6167 GB, free: 9.891 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.6932, allocations: 55.41 kB / 0.6167 GB, free: 9.824 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006176/0.6938, allocations: 405.9 kB / 0.6171 GB, free: 9.414 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.6939, allocations: 29.7 kB / 0.6172 GB, free: 9.379 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.6941, allocations: 216.4 kB / 0.6174 GB, free: 9.164 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.263e-05/0.6941, allocations: 47.53 kB / 0.6174 GB, free: 9.117 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.6942, allocations: 57.64 kB / 0.6175 GB, free: 9.055 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002407/0.6945, allocations: 354.7 kB / 0.6178 GB, free: 8.699 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.6947, allocations: 68.83 kB / 0.6179 GB, free: 8.629 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.6949, allocations: 108.2 kB / 0.618 GB, free: 8.508 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003833/0.6953, allocations: 180.1 kB / 0.6181 GB, free: 8.316 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.6953, allocations: 0 / 0.6181 GB, free: 8.316 MB / 462.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006835/0.696, allocations: 306 kB / 0.6184 GB, free: 8.008 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.696, allocations: 8 kB / 0.6184 GB, free: 8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.696, allocations: 0 / 0.6184 GB, free: 8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002532/0.6985, allocations: 328.6 kB / 0.6188 GB, free: 7.676 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/0.6988, allocations: 64.31 kB / 0.6188 GB, free: 7.613 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009824/0.6998, allocations: 0.6382 MB / 0.6194 GB, free: 6.949 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/0.7002, allocations: 39.73 kB / 0.6195 GB, free: 6.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.7002, allocations: 10.75 kB / 0.6195 GB, free: 6.902 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002992/0.7005, allocations: 164.1 kB / 0.6196 GB, free: 6.738 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00022/0.7007, allocations: 123.6 kB / 0.6198 GB, free: 6.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003622/0.7011, allocations: 187.6 kB / 0.6199 GB, free: 6.379 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/0.7011, allocations: 80 / 0.6199 GB, free: 6.379 MB / 462.1 MB Notification: Performance of matching and sorting (n=21) (initialization_lambda0): time 0.000829/0.7019, allocations: 301.9 kB / 0.6202 GB, free: 6.074 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.7019, allocations: 4.25 kB / 0.6202 GB, free: 6.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.7019, allocations: 8 kB / 0.6202 GB, free: 6.062 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003608/0.7023, allocations: 73.86 kB / 0.6203 GB, free: 5.988 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.7025, allocations: 63.88 kB / 0.6204 GB, free: 5.926 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001977/0.7045, allocations: 1.466 MB / 0.6218 GB, free: 4.344 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.7048, allocations: 19.92 kB / 0.6218 GB, free: 4.324 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.7048, allocations: 11.98 kB / 0.6218 GB, free: 4.312 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001861/0.705, allocations: 188.2 kB / 0.622 GB, free: 4.121 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.041e-05/0.7051, allocations: 47.66 kB / 0.6221 GB, free: 4.074 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.7065, allocations: 0.9011 MB / 0.6229 GB, free: 3.168 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.7065, allocations: 11.98 kB / 0.623 GB, free: 3.156 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.7065, allocations: 0 / 0.623 GB, free: 3.156 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.7065, allocations: 0 / 0.623 GB, free: 3.156 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006737/0.7072, allocations: 0.5218 MB / 0.6235 GB, free: 2.594 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.7072, allocations: 0 / 0.6235 GB, free: 2.594 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.7073, allocations: 27.98 kB / 0.6235 GB, free: 2.566 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001561/0.7088, allocations: 0.5115 MB / 0.624 GB, free: 2.051 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.7089, allocations: 3.984 kB / 0.624 GB, free: 2.047 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/0.71, allocations: 1.1 MB / 0.6251 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.71, allocations: 2.938 kB / 0.6251 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.7111, allocations: 0.7833 MB / 0.6258 GB, free: 120 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.272e-05/0.7112, allocations: 59.53 kB / 0.6259 GB, free: 60 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.935e-05/0.7113, allocations: 11.89 kB / 0.6259 GB, free: 48 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.7115, allocations: 8 kB / 0.6259 GB, free: 40 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.7115, allocations: 24.03 kB / 0.6259 GB, free: 16 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.7115, allocations: 7.938 kB / 0.6259 GB, free: 8 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004194/0.712, allocations: 335 kB / 0.6263 GB, free: 15.68 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.712, allocations: 0 / 0.6263 GB, free: 15.68 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0051/0.7171, allocations: 0.9553 MB / 0.6272 GB, free: 14.72 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region) * 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 {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007171/0.7242, allocations: 0.9667 MB / 0.6281 GB, free: 13.74 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.7258, allocations: 477.5 kB / 0.6286 GB, free: 13.26 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.7258, allocations: 0 / 0.6286 GB, free: 13.26 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000376/0.7262, allocations: 164.5 kB / 0.6287 GB, free: 13.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.7275, allocations: 225.9 kB / 0.629 GB, free: 12.89 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.7293, allocations: 0.9313 MB / 0.6299 GB, free: 11.92 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005919/0.7299, allocations: 0.8436 MB / 0.6307 GB, free: 11.05 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.531e-05/0.7299, allocations: 27.44 kB / 0.6307 GB, free: 11.03 MB / 478.1 MB Notification: Performance of SimCode: time 4.51e-07/0.7299, allocations: 0 / 0.6307 GB, free: 11.03 MB / 478.1 MB Notification: Performance of Templates: time 0.04468/0.7746, allocations: 22.06 MB / 0.6523 GB, free: 4.93 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.01422659587115] Failed to read output from testmodel.py, exit status != 0: 0.785897026071325 0.79972597 0.17703031500000002 Calling exit ...