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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001585, allocations: 104.4 kB / 17.59 MB, free: 5.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 191.3 kB / 18.52 MB, free: 4.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3451/0.3451, allocations: 48.84 MB / 320.6 MB, free: 11.09 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002434/0.002434, allocations: 70.23 kB / 390.7 MB, free: 48.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1262, allocations: 59.16 MB / 449.9 MB, free: 9.77 MB / 334.1 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.6079/0.7342, allocations: 106.3 MB / 0.5431 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002533/0.7367, allocations: 0.9224 MB / 0.544 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007017/0.7374, allocations: 24.06 kB / 0.5441 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009124/0.7384, allocations: 306.3 kB / 0.5443 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.7394, allocations: 439.6 kB / 0.5448 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01368/0.7531, allocations: 4.503 MB / 0.5492 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002462/0.7556, allocations: 1.31 MB / 0.5504 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008652/0.7565, allocations: 475.3 kB / 0.5509 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007978/0.7573, allocations: 442 kB / 0.5513 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005414/0.7579, allocations: 431.2 kB / 0.5517 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.245e-05/0.758, allocations: 35.31 kB / 0.5518 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0109/0.7689, allocations: 4.31 MB / 0.556 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003079/0.7692, allocations: 107.3 kB / 0.5561 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006632/0.7699, allocations: 362 kB / 0.5564 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0106/0.7805, allocations: 3.077 MB / 0.5594 GB, free: 2.613 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.7806, allocations: 0 / 0.5594 GB, free: 2.613 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.7806, allocations: 0 / 0.5594 GB, free: 2.613 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.7806, allocations: 2.312 kB / 0.5594 GB, free: 2.613 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.003049/0.7837, allocations: 1.294 MB / 0.5607 GB, free: 1.816 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.7837, allocations: 11.61 kB / 0.5607 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.7838, allocations: 89.31 kB / 0.5608 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000494/0.7843, allocations: 479.5 kB / 0.5612 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.7844, allocations: 37.81 kB / 0.5613 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.25e-05/0.7844, allocations: 50.06 kB / 0.5613 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005863/0.785, allocations: 0.6135 MB / 0.5619 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.785, allocations: 6.406 kB / 0.5619 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.7851, allocations: 21.19 kB / 0.562 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.7851, allocations: 16.44 kB / 0.562 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.7854, allocations: 249.3 kB / 0.5622 GB, free: 1.078 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005134/0.7906, allocations: 7.085 MB / 0.5691 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.7907, allocations: 172.9 kB / 0.5693 GB, free: 10.24 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.097e-05/0.7908, allocations: 80.14 kB / 0.5694 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.583e-05/0.7908, allocations: 79.22 kB / 0.5694 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.859e-05/0.7909, allocations: 108.5 kB / 0.5695 GB, free: 9.965 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 2.696e-06/0.7909, allocations: 0 / 0.5695 GB, free: 9.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001995/0.7911, allocations: 106 kB / 0.5696 GB, free: 9.895 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.255e-05/0.7912, allocations: 130.7 kB / 0.5698 GB, free: 9.754 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008202/0.792, allocations: 0.7735 MB / 0.5705 GB, free: 9.609 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.792, allocations: 25.7 kB / 0.5705 GB, free: 9.578 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000268/0.7923, allocations: 384.9 kB / 0.5709 GB, free: 9.453 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.573e-06/0.7923, allocations: 5.938 kB / 0.5709 GB, free: 9.453 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-05/0.7924, allocations: 36.47 kB / 0.571 GB, free: 9.434 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.7925, allocations: 308.4 kB / 0.5713 GB, free: 9.129 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.341e-05/0.7925, allocations: 19 kB / 0.5713 GB, free: 9.129 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.7927, allocations: 96.23 kB / 0.5714 GB, free: 9.023 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.7928, allocations: 113.5 kB / 0.5715 GB, free: 8.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.7928, allocations: 1.828 kB / 0.5715 GB, free: 8.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003132/0.7931, allocations: 206.6 kB / 0.5717 GB, free: 8.816 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.7932, allocations: 4 kB / 0.5717 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/0.7932, allocations: 7.562 kB / 0.5717 GB, free: 8.812 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.7932, allocations: 7.75 kB / 0.5717 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.613e-05/0.7933, allocations: 24.38 kB / 0.5717 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.7933, allocations: 6.672 kB / 0.5717 GB, free: 8.809 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.7936, allocations: 49.69 kB / 0.5718 GB, free: 8.773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.7936, allocations: 7.344 kB / 0.5718 GB, free: 8.773 MB / 430.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.0002074/0.7938, allocations: 237.1 kB / 0.572 GB, free: 8.574 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.7939, allocations: 186.7 kB / 0.5722 GB, free: 8.426 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.7941, allocations: 175.2 kB / 0.5723 GB, free: 8.305 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.499e-05/0.7942, allocations: 179.9 kB / 0.5725 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.89e-05/0.7942, allocations: 186.5 kB / 0.5727 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.404e-05/0.7943, allocations: 176.3 kB / 0.5729 GB, free: 7.758 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005302/0.7949, allocations: 0.6513 MB / 0.5735 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.199e-05/0.7949, allocations: 108.9 kB / 0.5736 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.127e-05/0.795, allocations: 101 kB / 0.5737 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.119e-05/0.7951, allocations: 187.4 kB / 0.5739 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.356e-05/0.7951, allocations: 178 kB / 0.574 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000107/0.7953, allocations: 180.2 kB / 0.5742 GB, free: 6.547 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.945e-05/0.7953, allocations: 184.3 kB / 0.5744 GB, free: 6.363 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.7956, allocations: 389 kB / 0.5748 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002033/0.7958, allocations: 250.7 kB / 0.575 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.796, allocations: 180.2 kB / 0.5752 GB, free: 5.582 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.7962, allocations: 104 kB / 0.5753 GB, free: 5.477 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.145e-05/0.7963, allocations: 184.1 kB / 0.5754 GB, free: 5.293 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-05/0.7963, allocations: 104.9 kB / 0.5755 GB, free: 5.184 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005713/0.7969, allocations: 0.5326 MB / 0.5761 GB, free: 5.074 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.745e-06/0.7969, allocations: 0 / 0.5761 GB, free: 5.074 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002638/0.7996, allocations: 0.7449 MB / 0.5768 GB, free: 4.965 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.002846/0.8024, allocations: 0.9885 MB / 0.5778 GB, free: 4.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.8026, allocations: 45.12 kB / 0.5778 GB, free: 4.652 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.8026, allocations: 0 / 0.5778 GB, free: 4.652 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.8027, allocations: 0 / 0.5778 GB, free: 4.652 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002472/0.8051, allocations: 0.9001 MB / 0.5787 GB, free: 4.105 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.8065, allocations: 0.9926 MB / 0.5797 GB, free: 3.523 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.807, allocations: 0.8773 MB / 0.5805 GB, free: 2.816 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.8072, allocations: 65.64 kB / 0.5806 GB, free: 2.805 MB / 430.1 MB Notification: Performance of SimCode: time 7.61e-07/0.8072, allocations: 0 / 0.5806 GB, free: 2.805 MB / 430.1 MB Notification: Performance of Templates: time 0.3044/1.112, allocations: 19.64 MB / 0.5997 GB, free: 0.5391 MB / 446.1 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)