Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.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.001432/0.001432, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.001569/0.001569, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.313/1.313, allocations: 158.6 MB / 185.7 MB, free: 6.426 MB / 174.1 MB " [Timeout remaining time 179] 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.2924/0.2924, allocations: 36.35 MB / 274.3 MB, free: 0.6445 MB / 254.1 MB " [Timeout remaining time 180] 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.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 414.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.58e-05, allocations: 6.219 kB / 414.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.2593/0.2593, allocations: 70.5 MB / 485.4 MB, free: 15.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01201/0.2713, allocations: 9.892 MB / 495.2 MB, free: 14.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008706/0.2722, allocations: 35.88 kB / 495.3 MB, free: 14.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.2734, allocations: 380.9 kB / 495.7 MB, free: 14.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.2747, allocations: 0.5378 MB / 496.2 MB, free: 14.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01678/0.2915, allocations: 5.915 MB / 0.4903 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001951/0.2934, allocations: 1.436 MB / 0.4917 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006807/0.2941, allocations: 340.1 kB / 0.4921 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.2954, allocations: 0.6706 MB / 0.4927 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007666/0.2962, allocations: 414.1 kB / 0.4931 GB, free: 13.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.512e-05/0.2963, allocations: 43.66 kB / 0.4932 GB, free: 13.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01116/0.3075, allocations: 6.077 MB / 0.4991 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.3076, allocations: 126.2 kB / 0.4992 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004955/0.3081, allocations: 267.8 kB / 0.4995 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008575/0.3167, allocations: 5.085 MB / 0.5044 GB, free: 9.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.3167, allocations: 0 / 0.5044 GB, free: 9.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3167, allocations: 0 / 0.5044 GB, free: 9.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.37e-05/0.3167, allocations: 1.875 kB / 0.5044 GB, free: 9.707 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.003461/0.3202, allocations: 1.443 MB / 0.5058 GB, free: 8.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.3202, allocations: 11.53 kB / 0.5059 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003979/0.3206, allocations: 130.3 kB / 0.506 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007215/0.3214, allocations: 461.6 kB / 0.5064 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.3214, allocations: 37.16 kB / 0.5065 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/0.3214, allocations: 50.41 kB / 0.5065 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009175/0.3224, allocations: 0.6114 MB / 0.5071 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.3224, allocations: 6.5 kB / 0.5071 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/0.3224, allocations: 28.16 kB / 0.5071 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.3224, allocations: 13.84 kB / 0.5071 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006919/0.3231, allocations: 352.2 kB / 0.5075 GB, free: 7.645 MB / 398.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.002107/0.3252, allocations: 2.625 MB / 0.51 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004152/0.3256, allocations: 183.9 kB / 0.5102 GB, free: 5.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.554e-05/0.3257, allocations: 60.12 kB / 0.5103 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06023/0.3859, allocations: 16.8 MB / 0.5267 GB, free: 6.125 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/0.386, allocations: 45.55 kB / 0.5267 GB, free: 6.074 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.894e-06/0.386, allocations: 0 / 0.5267 GB, free: 6.074 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.001301/0.3873, allocations: 335.9 kB / 0.5271 GB, free: 5.746 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.003e-05/0.3874, allocations: 136.5 kB / 0.5272 GB, free: 5.582 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006207/0.388, allocations: 498.3 kB / 0.5277 GB, free: 5.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.388, allocations: 33.7 kB / 0.5277 GB, free: 5.051 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002915/0.3883, allocations: 380 kB / 0.5281 GB, free: 4.676 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/0.3884, allocations: 46.89 kB / 0.5281 GB, free: 4.633 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.684e-05/0.3885, allocations: 49.64 kB / 0.5281 GB, free: 4.578 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.3886, allocations: 362.8 kB / 0.5285 GB, free: 4.215 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.3888, allocations: 55.08 kB / 0.5285 GB, free: 4.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.389, allocations: 134.1 kB / 0.5287 GB, free: 3.992 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/0.3893, allocations: 198.5 kB / 0.5289 GB, free: 3.773 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3893, allocations: 0 / 0.5289 GB, free: 3.773 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005068/0.3898, allocations: 256.4 kB / 0.5291 GB, free: 3.531 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3898, allocations: 4 kB / 0.5291 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.3898, allocations: 8.188 kB / 0.5291 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.3899, allocations: 8 kB / 0.5291 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.3902, allocations: 59.23 kB / 0.5292 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.3902, allocations: 4 kB / 0.5292 GB, free: 3.453 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/0.3906, allocations: 27.78 kB / 0.5292 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.3906, allocations: 11.98 kB / 0.5292 GB, free: 3.414 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002347/0.3908, allocations: 160.1 kB / 0.5294 GB, free: 3.254 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001989/0.391, allocations: 181 kB / 0.5295 GB, free: 3.012 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003168/0.3913, allocations: 252.2 kB / 0.5298 GB, free: 2.715 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.904e-06/0.3913, allocations: 0 / 0.5298 GB, free: 2.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004477/0.3918, allocations: 266.3 kB / 0.53 GB, free: 2.477 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.3918, allocations: 4 kB / 0.53 GB, free: 2.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.3918, allocations: 10.52 kB / 0.5301 GB, free: 2.465 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.765e-06/0.3918, allocations: 7.938 kB / 0.5301 GB, free: 2.457 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.3921, allocations: 66.23 kB / 0.5301 GB, free: 2.398 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3921, allocations: 11.38 kB / 0.5301 GB, free: 2.391 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003127/0.3924, allocations: 19.89 kB / 0.5302 GB, free: 2.371 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.197e-05/0.3924, allocations: 12 kB / 0.5302 GB, free: 2.359 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001377/0.3925, allocations: 191.7 kB / 0.5303 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.3927, allocations: 55.67 kB / 0.5304 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007014/0.3934, allocations: 0.5315 MB / 0.5309 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.3934, allocations: 7.984 kB / 0.5309 GB, free: 1.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3934, allocations: 0 / 0.5309 GB, free: 1.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3934, allocations: 4 kB / 0.5309 GB, free: 1.566 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007081/0.3941, allocations: 467.5 kB / 0.5314 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3941, allocations: 0 / 0.5314 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.39e-05/0.3942, allocations: 23.83 kB / 0.5314 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3942, allocations: 0 / 0.5314 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.3942, allocations: 15.92 kB / 0.5314 GB, free: 1.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.3942, allocations: 6.312 kB / 0.5314 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3942, allocations: 4 kB / 0.5314 GB, free: 1.039 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.3946, allocations: 488.5 kB / 0.5319 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.878e-05/0.3947, allocations: 47.61 kB / 0.5319 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.3948, allocations: 35.72 kB / 0.532 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/0.3952, allocations: 11.94 kB / 0.532 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.3952, allocations: 7.984 kB / 0.532 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-06/0.3952, allocations: 0 / 0.532 GB, free: 456 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000746/0.396, allocations: 0.5615 MB / 0.5325 GB, free: 15.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.396, allocations: 0 / 0.5325 GB, free: 15.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003015/0.399, allocations: 1.115 MB / 0.5336 GB, free: 14.77 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003792/0.4028, allocations: 1.094 MB / 0.5347 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004673/0.4032, allocations: 200.8 kB / 0.5349 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.4032, allocations: 0 / 0.5349 GB, free: 13.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.147e-05/0.4033, allocations: 35.17 kB / 0.5349 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/0.4051, allocations: 274 kB / 0.5352 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.4068, allocations: 1.065 MB / 0.5362 GB, free: 12.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.4071, allocations: 347.5 kB / 0.5366 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004377/0.4076, allocations: 250.8 kB / 0.5368 GB, free: 11.58 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.4077, allocations: 48.48 kB / 0.5368 GB, free: 11.53 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4077, allocations: 0 / 0.5368 GB, free: 11.53 MB / 430.1 MB Notification: Performance of Templates: time 0.05524/0.4629, allocations: 36.18 MB / 0.5722 GB, free: 7.336 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.9253419153392315] Failed to read output from testmodel.py, exit status != 0: 0.4719524011015892 0.486424438 0.16646064100000002 Calling exit ...