Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.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.001469/0.001469, allocations: 71.77 kB / 21.69 MB, free: 2.852 MB / 18.57 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.001663/0.001663, allocations: 163.6 kB / 24.99 MB, free: 8.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9046/0.9046, allocations: 177.1 MB / 205.3 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.08413/0.08413, allocations: 19.73 MB / 281.5 MB, free: 9.316 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources") translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 358 MB, free: 6.922 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.506e-05, allocations: 2.312 kB / 358 MB, free: 6.918 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/FluidPh.mo:311:5-311:61:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/FluidPh.mo:311:5-311:61:writable] Notification: The diagnostics message for the missing inner is: The System object is missing, please drag it on the top layer of your model Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestSources): time 0.1851/0.1851, allocations: 112.6 MB / 470.5 MB, free: 14.39 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.1868, allocations: 0.9337 MB / 471.5 MB, free: 13.93 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002678/0.187, allocations: 39.56 kB / 471.5 MB, free: 13.89 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005451/0.1876, allocations: 310.2 kB / 471.8 MB, free: 13.71 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004815/0.188, allocations: 465.1 kB / 472.3 MB, free: 13.38 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007155/0.1952, allocations: 4.539 MB / 476.8 MB, free: 9.516 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009354/0.1961, allocations: 1.369 MB / 478.2 MB, free: 8.141 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004028/0.1965, allocations: 391.4 kB / 478.5 MB, free: 7.742 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004873/0.197, allocations: 0.635 MB / 479.2 MB, free: 7.105 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003163/0.1973, allocations: 366.8 kB / 479.5 MB, free: 6.746 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.436e-05/0.1974, allocations: 40 kB / 479.6 MB, free: 6.707 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00493/0.2023, allocations: 4.166 MB / 483.7 MB, free: 2.535 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.73e-05/0.2024, allocations: 111.4 kB / 483.9 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.2026, allocations: 236.4 kB / 484.1 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003112/0.2057, allocations: 3.503 MB / 487.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2057, allocations: 0 / 487.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.2057, allocations: 0 / 487.6 MB, free: 14.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.2057, allocations: 0 / 487.6 MB, free: 14.68 MB / 362.7 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.00126/0.2069, allocations: 1.338 MB / 488.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.207, allocations: 8.031 kB / 488.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.2071, allocations: 136.3 kB / 489.1 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000428/0.2075, allocations: 460.1 kB / 489.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.2075, allocations: 33.38 kB / 489.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/0.2076, allocations: 48.38 kB / 489.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004842/0.2081, allocations: 0.6544 MB / 490.3 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.2081, allocations: 3.938 kB / 490.3 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.2081, allocations: 20 kB / 490.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.2081, allocations: 16 kB / 490.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004429/0.2086, allocations: 203.3 kB / 490.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002399/0.2109, allocations: 6.242 MB / 496.7 MB, free: 5.082 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.939e-05/0.211, allocations: 269.4 kB / 497 MB, free: 4.805 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/0.211, allocations: 126.9 kB / 497.1 MB, free: 4.676 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.2111, allocations: 127.1 kB / 497.2 MB, free: 4.551 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.2111, allocations: 160.5 kB / 497.4 MB, free: 4.383 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.2111, allocations: 0 / 497.4 MB, free: 4.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 8.161e-05/0.2112, allocations: 85.33 kB / 497.5 MB, free: 4.293 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.2112, allocations: 170.6 kB / 497.6 MB, free: 4.113 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005882/0.2118, allocations: 0.5308 MB / 498.2 MB, free: 3.562 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.193e-06/0.2118, allocations: 25.7 kB / 498.2 MB, free: 3.531 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.212, allocations: 470.2 kB / 498.7 MB, free: 3.066 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-06/0.212, allocations: 4 kB / 498.7 MB, free: 3.062 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.2121, allocations: 47.31 kB / 498.7 MB, free: 3.008 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2122, allocations: 0.5274 MB / 499.2 MB, free: 2.469 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.978e-05/0.2122, allocations: 11.98 kB / 499.3 MB, free: 2.457 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.204e-05/0.2123, allocations: 120.2 kB / 499.4 MB, free: 2.289 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.803e-05/0.2124, allocations: 132.1 kB / 499.5 MB, free: 2.109 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2124, allocations: 0 / 499.5 MB, free: 2.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001987/0.2126, allocations: 177 kB / 499.7 MB, free: 1.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.2126, allocations: 4.375 kB / 499.7 MB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2126, allocations: 11.98 kB / 499.7 MB, free: 1.914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.2126, allocations: 7.938 kB / 499.7 MB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.961e-05/0.2127, allocations: 23.98 kB / 499.7 MB, free: 1.883 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.2127, allocations: 7.938 kB / 499.7 MB, free: 1.875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.306e-05/0.2127, allocations: 15.88 kB / 499.7 MB, free: 1.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.2128, allocations: 8 kB / 499.8 MB, free: 1.852 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 initialization (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 prepare postOptimizeDAE: time 0.0001088/0.2129, allocations: 279.8 kB / 0.4883 GB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-05/0.2129, allocations: 208.4 kB / 0.4885 GB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.464e-05/0.213, allocations: 188.8 kB / 0.4887 GB, free: 1.164 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.024e-05/0.2131, allocations: 276 kB / 0.4889 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.907e-05/0.2131, allocations: 268.1 kB / 0.4892 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.854e-05/0.2131, allocations: 264.1 kB / 0.4895 GB, free: 360 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003175/0.2135, allocations: 0.6989 MB / 0.4901 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-05/0.2135, allocations: 148.9 kB / 0.4903 GB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.863e-05/0.2135, allocations: 152.8 kB / 0.4904 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-05/0.2136, allocations: 264.1 kB / 0.4907 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-05/0.2136, allocations: 268 kB / 0.4909 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.444e-05/0.2137, allocations: 276.2 kB / 0.4912 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.898e-05/0.2137, allocations: 268.1 kB / 0.4915 GB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.2139, allocations: 495.6 kB / 0.4919 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.2139, allocations: 196.5 kB / 0.4921 GB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.667e-05/0.214, allocations: 276 kB / 0.4924 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.961e-05/0.2141, allocations: 144.9 kB / 0.4925 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.2141, allocations: 268 kB / 0.4928 GB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.2141, allocations: 152.9 kB / 0.4929 GB, free: 12.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004385/0.2146, allocations: 351 kB / 0.4932 GB, free: 12.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2146, allocations: 0 / 0.4932 GB, free: 12.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009746/0.2156, allocations: 0.7946 MB / 0.494 GB, free: 11.52 MB / 378.7 MB 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 (0): * Single equations (assignments): 0 * 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.00161/0.2172, allocations: 1.137 MB / 0.4951 GB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.48e-05/0.2173, allocations: 43.55 kB / 0.4952 GB, free: 10.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.2173, allocations: 0 / 0.4952 GB, free: 10.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.834e-06/0.2173, allocations: 4 kB / 0.4952 GB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008337/0.2181, allocations: 0.9436 MB / 0.4961 GB, free: 9.371 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.2191, allocations: 0.9835 MB / 0.4971 GB, free: 8.352 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.976e-05/0.2192, allocations: 117.2 kB / 0.4972 GB, free: 8.219 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.2193, allocations: 83.17 kB / 0.4973 GB, free: 8.133 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.71e-05/0.2194, allocations: 44.42 kB / 0.4973 GB, free: 8.09 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2194, allocations: 0 / 0.4973 GB, free: 8.09 MB / 378.7 MB Notification: Performance of Templates: time 0.02078/0.2401, allocations: 22.77 MB / 0.5195 GB, free: 1.453 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2020712289959192]