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.001399/0.001399, allocations: 74.33 kB / 20.52 MB, free: 1.371 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.001512/0.001512, allocations: 166.2 kB / 23.78 MB, free: 4.539 MB / 14.72 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 1.465/1.465, allocations: 177.2 MB / 204.2 MB, free: 9.277 MB / 190.1 MB " [Timeout remaining time 178] 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.1397/0.1397, allocations: 19.71 MB / 280.3 MB, free: 13.05 MB / 270.1 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: ThermoPower requested package Modelica of version 4.0.0. Modelica 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.002161/0.002161, allocations: 71.89 kB / 416.9 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2625, allocations: 60.46 MB / 477.3 MB, free: 15.54 MB / 382.1 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.153/0.4155, allocations: 99.87 MB / 0.5637 GB, free: 14.3 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00246/0.418, allocations: 0.9347 MB / 0.5646 GB, free: 13.36 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000537/0.4185, allocations: 35.62 kB / 0.5646 GB, free: 13.32 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007754/0.4193, allocations: 309.5 kB / 0.5649 GB, free: 13.02 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008341/0.4201, allocations: 453 kB / 0.5653 GB, free: 12.57 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01173/0.4318, allocations: 4.466 MB / 0.5697 GB, free: 8.094 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001875/0.4337, allocations: 1.319 MB / 0.571 GB, free: 6.766 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006097/0.4343, allocations: 375.4 kB / 0.5714 GB, free: 6.387 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008281/0.4352, allocations: 0.6618 MB / 0.572 GB, free: 5.723 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005843/0.4357, allocations: 421.8 kB / 0.5724 GB, free: 5.309 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.237e-05/0.4358, allocations: 36 kB / 0.5724 GB, free: 5.273 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008382/0.4442, allocations: 4.159 MB / 0.5765 GB, free: 1.109 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.4444, allocations: 115.4 kB / 0.5766 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003739/0.4447, allocations: 290.5 kB / 0.5769 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005438/0.4502, allocations: 3.074 MB / 0.5799 GB, free: 13.63 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.4502, allocations: 3.984 kB / 0.5799 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.4502, allocations: 0 / 0.5799 GB, free: 13.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.4502, allocations: 0 / 0.5799 GB, free: 13.62 MB / 494.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.001941/0.4521, allocations: 1.246 MB / 0.5811 GB, free: 12.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.4522, allocations: 8.031 kB / 0.5811 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/0.4523, allocations: 100.3 kB / 0.5812 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006684/0.453, allocations: 422.1 kB / 0.5816 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.004e-05/0.453, allocations: 41.12 kB / 0.5816 GB, free: 11.76 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.074e-05/0.4531, allocations: 44 kB / 0.5817 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008747/0.4539, allocations: 0.6119 MB / 0.5823 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.454, allocations: 3.938 kB / 0.5823 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.156e-05/0.454, allocations: 24 kB / 0.5823 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.454, allocations: 16 kB / 0.5823 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004179/0.4544, allocations: 251.4 kB / 0.5826 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003808/0.4583, allocations: 4.418 MB / 0.5869 GB, free: 6.098 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.4584, allocations: 169.1 kB / 0.587 GB, free: 5.922 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.847e-05/0.4584, allocations: 80.14 kB / 0.5871 GB, free: 5.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.4584, allocations: 79.28 kB / 0.5872 GB, free: 5.762 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.658e-05/0.4585, allocations: 105.8 kB / 0.5873 GB, free: 5.648 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.031e-06/0.4585, allocations: 0 / 0.5873 GB, free: 5.648 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001334/0.4586, allocations: 85.48 kB / 0.5874 GB, free: 5.559 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.686e-05/0.4587, allocations: 134.7 kB / 0.5875 GB, free: 5.414 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005977/0.4593, allocations: 0.5118 MB / 0.588 GB, free: 4.891 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.4593, allocations: 25.7 kB / 0.588 GB, free: 4.859 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.4596, allocations: 415.5 kB / 0.5884 GB, free: 4.449 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.869e-06/0.4596, allocations: 4 kB / 0.5884 GB, free: 4.445 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.056e-05/0.4597, allocations: 37.66 kB / 0.5885 GB, free: 4.402 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.4599, allocations: 358.8 kB / 0.5888 GB, free: 4.043 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.168e-05/0.4599, allocations: 15.98 kB / 0.5888 GB, free: 4.027 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.497e-05/0.46, allocations: 86.3 kB / 0.5889 GB, free: 3.906 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.4602, allocations: 122.1 kB / 0.589 GB, free: 3.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4602, allocations: 0 / 0.589 GB, free: 3.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003093/0.4605, allocations: 181.1 kB / 0.5892 GB, free: 3.566 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.4605, allocations: 8 kB / 0.5892 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.4605, allocations: 0 / 0.5892 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.4605, allocations: 4 kB / 0.5892 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.4606, allocations: 31.86 kB / 0.5892 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.4606, allocations: 4.375 kB / 0.5892 GB, free: 3.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.4608, allocations: 15.89 kB / 0.5893 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.4608, allocations: 12 kB / 0.5893 GB, free: 3.492 MB / 494.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.0002073/0.461, allocations: 233 kB / 0.5895 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.4611, allocations: 160.6 kB / 0.5896 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.962e-05/0.4612, allocations: 144.9 kB / 0.5898 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.022e-05/0.4613, allocations: 184.2 kB / 0.59 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.124e-05/0.4614, allocations: 176.3 kB / 0.5901 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001003/0.4615, allocations: 184.2 kB / 0.5903 GB, free: 2.387 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004704/0.4619, allocations: 0.5553 MB / 0.5908 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.68e-05/0.462, allocations: 105 kB / 0.5909 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.003e-05/0.462, allocations: 117 kB / 0.5911 GB, free: 1.562 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.731e-05/0.4621, allocations: 184.3 kB / 0.5912 GB, free: 1.375 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-05/0.4622, allocations: 180.2 kB / 0.5914 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.531e-05/0.4623, allocations: 184.3 kB / 0.5916 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.582e-05/0.4624, allocations: 180.2 kB / 0.5918 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.4626, allocations: 367.3 kB / 0.5921 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.4627, allocations: 148.6 kB / 0.5922 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.4628, allocations: 180.3 kB / 0.5924 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.463, allocations: 101 kB / 0.5925 GB, free: 16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.155e-05/0.463, allocations: 188.2 kB / 0.5927 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.705e-05/0.4631, allocations: 105 kB / 0.5928 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003881/0.4635, allocations: 347.1 kB / 0.5931 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4635, allocations: 0 / 0.5931 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001902/0.4654, allocations: 0.7984 MB / 0.5939 GB, free: 14.56 MB / 0.4981 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 (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.002409/0.4678, allocations: 1.004 MB / 0.5949 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.4679, allocations: 40.48 kB / 0.5949 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4679, allocations: 4.125 kB / 0.5949 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.4679, allocations: 4 kB / 0.5949 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.4694, allocations: 0.6889 MB / 0.5956 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.4707, allocations: 0.9367 MB / 0.5965 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.471, allocations: 284.5 kB / 0.5968 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002141/0.4712, allocations: 91.17 kB / 0.5969 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.4713, allocations: 40.42 kB / 0.5969 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.4713, allocations: 0 / 0.5969 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.03496/0.5063, allocations: 22.17 MB / 0.6186 GB, free: 5.367 MB / 0.5137 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.425058675929904] Failed to read output from testmodel.py, exit status != 0: 0.515077443793416 0.530550353 0.07712272499999995 Calling exit ...