Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001429/0.001429, allocations: 82.97 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.001504/0.001504, allocations: 164.2 kB / 23.95 MB, free: 4.168 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.308/1.308, allocations: 158.6 MB / 185.7 MB, free: 6.41 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.2792/0.2792, allocations: 36.35 MB / 274.3 MB, free: 0.6289 MB / 254.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.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources") translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 414.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.679e-05, allocations: 10.22 kB / 414.9 MB, free: 11.59 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/Water.mo:297:5-297: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 master/Water.mo:297:5-297: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.301/0.301, allocations: 99.6 MB / 0.5024 GB, free: 7.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.303, allocations: 0.9223 MB / 0.5033 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003088/0.3033, allocations: 39.62 kB / 0.5033 GB, free: 7.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007392/0.3041, allocations: 314.1 kB / 0.5036 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006427/0.3047, allocations: 467.8 kB / 0.5041 GB, free: 7.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01002/0.3148, allocations: 4.534 MB / 0.5085 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001148/0.3159, allocations: 1.382 MB / 0.5099 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004627/0.3164, allocations: 366.9 kB / 0.5102 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005188/0.3169, allocations: 0.6338 MB / 0.5108 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003906/0.3173, allocations: 355.6 kB / 0.5112 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.319e-05/0.3173, allocations: 36 kB / 0.5112 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006255/0.3236, allocations: 4.156 MB / 0.5153 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.031e-05/0.3236, allocations: 117.5 kB / 0.5154 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.3238, allocations: 233.4 kB / 0.5156 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004641/0.3285, allocations: 3.631 MB / 0.5191 GB, free: 13.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3285, allocations: 0 / 0.5191 GB, free: 13.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3285, allocations: 0 / 0.5191 GB, free: 13.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.3285, allocations: 0 / 0.5191 GB, free: 13.88 MB / 414.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.001821/0.3303, allocations: 1.241 MB / 0.5204 GB, free: 12.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3304, allocations: 8.031 kB / 0.5204 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.3305, allocations: 104.3 kB / 0.5205 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006994/0.3312, allocations: 423.5 kB / 0.5209 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.3312, allocations: 35.56 kB / 0.5209 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.323e-05/0.3313, allocations: 57.56 kB / 0.5209 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008116/0.3321, allocations: 0.6057 MB / 0.5215 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.3321, allocations: 3.938 kB / 0.5215 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.843e-05/0.3322, allocations: 24.44 kB / 0.5216 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/0.3322, allocations: 19.98 kB / 0.5216 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000387/0.3326, allocations: 247.3 kB / 0.5218 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003684/0.3362, allocations: 4.394 MB / 0.5261 GB, free: 6.906 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.3363, allocations: 169.1 kB / 0.5263 GB, free: 6.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.762e-05/0.3364, allocations: 84.14 kB / 0.5264 GB, free: 6.645 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.3364, allocations: 75.28 kB / 0.5264 GB, free: 6.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/0.3365, allocations: 117.7 kB / 0.5265 GB, free: 6.445 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3365, allocations: 0 / 0.5265 GB, free: 6.445 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001293/0.3366, allocations: 81.36 kB / 0.5266 GB, free: 6.359 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/0.3367, allocations: 130.9 kB / 0.5267 GB, free: 6.219 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005935/0.3373, allocations: 0.5002 MB / 0.5272 GB, free: 5.711 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.3373, allocations: 29.64 kB / 0.5273 GB, free: 5.676 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003272/0.3376, allocations: 419.4 kB / 0.5277 GB, free: 5.262 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.049e-06/0.3376, allocations: 4 kB / 0.5277 GB, free: 5.258 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.501e-05/0.3377, allocations: 37.7 kB / 0.5277 GB, free: 5.215 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.3379, allocations: 362.8 kB / 0.528 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.364e-05/0.3379, allocations: 16 kB / 0.5281 GB, free: 4.836 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.338, allocations: 90.23 kB / 0.5281 GB, free: 4.711 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.3382, allocations: 114.2 kB / 0.5283 GB, free: 4.562 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.3382, allocations: 0 / 0.5283 GB, free: 4.562 MB / 414.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003289/0.3385, allocations: 177.4 kB / 0.5284 GB, free: 4.383 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3385, allocations: 12 kB / 0.5284 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3385, allocations: 4 kB / 0.5284 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.3385, allocations: 4 kB / 0.5284 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.3386, allocations: 23.92 kB / 0.5285 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3387, allocations: 4 kB / 0.5285 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.3388, allocations: 19.84 kB / 0.5285 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.3388, allocations: 8 kB / 0.5285 GB, free: 4.309 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: 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.0001995/0.339, allocations: 233 kB / 0.5287 GB, free: 4.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.3391, allocations: 168.6 kB / 0.5289 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.399e-05/0.3392, allocations: 148.8 kB / 0.529 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.362e-05/0.3393, allocations: 180.3 kB / 0.5292 GB, free: 3.562 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.98e-05/0.3394, allocations: 184.2 kB / 0.5294 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.658e-05/0.3395, allocations: 177.5 kB / 0.5295 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/0.3399, allocations: 0.5553 MB / 0.5301 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.806e-05/0.34, allocations: 108.9 kB / 0.5302 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.596e-05/0.34, allocations: 105 kB / 0.5303 GB, free: 2.379 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.938e-05/0.3401, allocations: 184.1 kB / 0.5305 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.337e-05/0.3402, allocations: 184.2 kB / 0.5306 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.331e-05/0.3403, allocations: 180.3 kB / 0.5308 GB, free: 1.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-05/0.3403, allocations: 184.2 kB / 0.531 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.3406, allocations: 365.3 kB / 0.5313 GB, free: 1.254 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.862e-05/0.3407, allocations: 140.7 kB / 0.5315 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.3408, allocations: 188.2 kB / 0.5316 GB, free: 0.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.3409, allocations: 108.9 kB / 0.5317 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.689e-05/0.341, allocations: 180.2 kB / 0.5319 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.683e-05/0.3411, allocations: 104.9 kB / 0.532 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003852/0.3415, allocations: 351.1 kB / 0.5324 GB, free: 176 kB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3415, allocations: 0 / 0.5324 GB, free: 176 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001712/0.3432, allocations: 0.7906 MB / 0.5331 GB, free: 15.38 MB / 430.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: 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.00258/0.3458, allocations: 1.077 MB / 0.5342 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.3459, allocations: 39.84 kB / 0.5342 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3459, allocations: 0 / 0.5342 GB, free: 14.33 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.537e-06/0.3459, allocations: 7.938 kB / 0.5342 GB, free: 14.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.3475, allocations: 0.6786 MB / 0.5349 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.3488, allocations: 0.9307 MB / 0.5358 GB, free: 12.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.3491, allocations: 280.5 kB / 0.5361 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000211/0.3493, allocations: 87.17 kB / 0.5361 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.85e-05/0.3493, allocations: 32.5 kB / 0.5362 GB, free: 12.27 MB / 430.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3493, allocations: 0 / 0.5362 GB, free: 12.27 MB / 430.1 MB Notification: Performance of Templates: time 0.03436/0.3837, allocations: 22.14 MB / 0.5578 GB, free: 6.113 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestSources.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestSources -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.463004823774099] Failed to read output from testmodel.py, exit status != 0: 0.3923449106514454 0.40735649500000004 0.075775828 Calling exit ...