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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources") translateModel(ThermoPower.Test.WaterComponents.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 186.5 kB / 17.27 MB, free: 4.48 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.266/1.266, allocations: 205.1 MB / 223.1 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009491/0.0009491, allocations: 97.53 kB / 270.5 MB, free: 8.449 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3653/0.3653, allocations: 48.84 MB / 366.7 MB, free: 46.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 55.92 kB / 436.6 MB, free: 11.44 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1016, allocations: 59.15 MB / 495.8 MB, free: 156 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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 3.1.0-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.2613/0.3629, allocations: 104.3 MB / 0.5859 GB, free: 11.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002526/0.3655, allocations: 1.055 MB / 0.587 GB, free: 10.08 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004756/0.366, allocations: 35.75 kB / 0.587 GB, free: 10.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007479/0.3667, allocations: 234.3 kB / 0.5872 GB, free: 9.816 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006821/0.3674, allocations: 417.4 kB / 0.5876 GB, free: 9.406 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01053/0.378, allocations: 3.864 MB / 0.5914 GB, free: 5.535 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0022/0.3802, allocations: 1.822 MB / 0.5932 GB, free: 3.707 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007074/0.3809, allocations: 398 kB / 0.5936 GB, free: 3.312 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006304/0.3816, allocations: 418.1 kB / 0.594 GB, free: 2.902 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006375/0.3822, allocations: 441.7 kB / 0.5944 GB, free: 2.469 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.358e-05/0.3823, allocations: 24 kB / 0.5944 GB, free: 2.445 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01275/0.3951, allocations: 4.315 MB / 0.5986 GB, free: 14.12 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002108/0.3953, allocations: 95.45 kB / 0.5987 GB, free: 14.03 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006728/0.396, allocations: 353.9 kB / 0.599 GB, free: 13.68 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008175/0.4042, allocations: 3.064 MB / 0.602 GB, free: 10.61 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4043, allocations: 0 / 0.602 GB, free: 10.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4043, allocations: 4 kB / 0.602 GB, free: 10.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.4043, allocations: 0 / 0.602 GB, free: 10.61 MB / 426.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.002733/0.407, allocations: 1.285 MB / 0.6033 GB, free: 9.277 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.4071, allocations: 12.03 kB / 0.6033 GB, free: 9.266 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.4073, allocations: 87.91 kB / 0.6034 GB, free: 9.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009618/0.4083, allocations: 487.3 kB / 0.6039 GB, free: 8.664 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.916e-05/0.4083, allocations: 37.56 kB / 0.6039 GB, free: 8.625 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.211e-05/0.4084, allocations: 47.94 kB / 0.6039 GB, free: 8.578 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.4096, allocations: 0.6082 MB / 0.6045 GB, free: 7.848 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/0.4097, allocations: 7.938 kB / 0.6045 GB, free: 7.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.096e-05/0.4097, allocations: 20 kB / 0.6046 GB, free: 7.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.669e-05/0.4098, allocations: 16 kB / 0.6046 GB, free: 7.805 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000658/0.4105, allocations: 251.3 kB / 0.6048 GB, free: 7.559 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007204/0.4177, allocations: 7.078 MB / 0.6117 GB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.4178, allocations: 181.1 kB / 0.6119 GB, free: 15.51 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.4179, allocations: 84.14 kB / 0.612 GB, free: 15.42 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/0.418, allocations: 75.28 kB / 0.612 GB, free: 15.35 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.117e-05/0.418, allocations: 109.8 kB / 0.6122 GB, free: 15.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=0): time 2.425e-06/0.418, allocations: 0 / 0.6122 GB, free: 15.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002499/0.4183, allocations: 108.7 kB / 0.6123 GB, free: 15.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.4184, allocations: 130.6 kB / 0.6124 GB, free: 14.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.42, allocations: 0.7764 MB / 0.6131 GB, free: 14.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.42, allocations: 29.7 kB / 0.6132 GB, free: 14.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004481/0.4204, allocations: 387.1 kB / 0.6135 GB, free: 13.76 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.4205, allocations: 11.98 kB / 0.6135 GB, free: 13.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-05/0.4206, allocations: 33.61 kB / 0.6136 GB, free: 13.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4207, allocations: 310 kB / 0.6139 GB, free: 13.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.162e-05/0.4208, allocations: 15.98 kB / 0.6139 GB, free: 13.38 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.421, allocations: 90.3 kB / 0.614 GB, free: 13.26 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.4212, allocations: 110.1 kB / 0.6141 GB, free: 13.11 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.968e-06/0.4213, allocations: 8 kB / 0.6141 GB, free: 13.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005663/0.4218, allocations: 196.5 kB / 0.6143 GB, free: 12.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.4219, allocations: 11.94 kB / 0.6143 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.4219, allocations: 4 kB / 0.6143 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.4219, allocations: 4.375 kB / 0.6143 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.4221, allocations: 23.98 kB / 0.6143 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/0.4222, allocations: 11.92 kB / 0.6143 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000412/0.4226, allocations: 51.28 kB / 0.6144 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/0.4226, allocations: 8 kB / 0.6144 GB, free: 12.79 MB / 442.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.0002768/0.4229, allocations: 229.1 kB / 0.6146 GB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.4232, allocations: 188 kB / 0.6148 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.4233, allocations: 163.7 kB / 0.6149 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.986e-05/0.4234, allocations: 192.2 kB / 0.6151 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.157e-05/0.4235, allocations: 176.3 kB / 0.6153 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.103e-05/0.4236, allocations: 180.2 kB / 0.6155 GB, free: 11.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007994/0.4245, allocations: 0.6494 MB / 0.6161 GB, free: 10.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.705e-05/0.4245, allocations: 105 kB / 0.6162 GB, free: 10.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.718e-05/0.4246, allocations: 108.9 kB / 0.6163 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.558e-05/0.4247, allocations: 180.3 kB / 0.6165 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-05/0.4248, allocations: 180.3 kB / 0.6166 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.969e-05/0.4249, allocations: 184.2 kB / 0.6168 GB, free: 10.15 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.6e-05/0.425, allocations: 176.3 kB / 0.617 GB, free: 9.973 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009075/0.4259, allocations: 1.113 MB / 0.6181 GB, free: 8.793 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.4262, allocations: 245.1 kB / 0.6183 GB, free: 8.527 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/0.4264, allocations: 176.3 kB / 0.6185 GB, free: 8.348 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003802/0.4268, allocations: 112.9 kB / 0.6186 GB, free: 8.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.752e-05/0.4269, allocations: 184.2 kB / 0.6188 GB, free: 8.043 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.427, allocations: 108.9 kB / 0.6189 GB, free: 7.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001148/0.4281, allocations: 0.5271 MB / 0.6194 GB, free: 7.391 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4282, allocations: 0 / 0.6194 GB, free: 7.391 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003213/0.4314, allocations: 0.7728 MB / 0.6201 GB, free: 6.617 MB / 442.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.00476/0.4362, allocations: 0.9936 MB / 0.6211 GB, free: 5.609 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002484/0.4364, allocations: 47.95 kB / 0.6211 GB, free: 5.562 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4365, allocations: 0 / 0.6211 GB, free: 5.562 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.077e-06/0.4365, allocations: 0 / 0.6211 GB, free: 5.562 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005267/0.4418, allocations: 0.94 MB / 0.6221 GB, free: 4.617 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.4442, allocations: 1.117 MB / 0.6232 GB, free: 3.477 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007457/0.4449, allocations: 0.8785 MB / 0.624 GB, free: 2.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00082/0.4458, allocations: 133.4 kB / 0.6241 GB, free: 2.438 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.446, allocations: 47.42 kB / 0.6242 GB, free: 2.395 MB / 442.7 MB Notification: Performance of SimCode: time 1.152e-06/0.446, allocations: 4 kB / 0.6242 GB, free: 2.391 MB / 442.7 MB Notification: Performance of Templates: time 0.04962/0.4956, allocations: 26.23 MB / 0.6498 GB, free: 8.137 MB / 474.7 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.makefile (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)