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.0008206/0.0008208, allocations: 92.39 kB / 16.65 MB, free: 6.59 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.0008156/0.0008157, allocations: 181 kB / 17.56 MB, free: 6.203 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.405/1.405, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2957/0.2957, allocations: 48.78 MB / 320.8 MB, free: 11.12 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.0005146/0.0005146, allocations: 12.95 kB / 391.8 MB, free: 50.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09973/0.1003, allocations: 60.27 MB / 452.1 MB, free: 9.184 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Water.mo:186:5-186: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:186:5-186: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.5342/0.6345, allocations: 103.5 MB / 0.5425 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002608/0.6371, allocations: 1.049 MB / 0.5436 GB, free: 4.215 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006292/0.6377, allocations: 28.81 kB / 0.5436 GB, free: 4.199 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007281/0.6385, allocations: 234 kB / 0.5438 GB, free: 4.109 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008929/0.6394, allocations: 422.9 kB / 0.5442 GB, free: 3.988 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01196/0.6514, allocations: 3.857 MB / 0.548 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002472/0.6539, allocations: 1.797 MB / 0.5497 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005824/0.6545, allocations: 390 kB / 0.5501 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000507/0.655, allocations: 394.5 kB / 0.5505 GB, free: 2.984 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000426/0.6554, allocations: 425 kB / 0.5509 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.579e-05/0.6555, allocations: 19.97 kB / 0.5509 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00918/0.6646, allocations: 4.307 MB / 0.5551 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001857/0.6649, allocations: 88.52 kB / 0.5552 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004947/0.6654, allocations: 367.7 kB / 0.5555 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006229/0.6716, allocations: 3.047 MB / 0.5585 GB, free: 2.688 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6716, allocations: 0 / 0.5585 GB, free: 2.688 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6717, allocations: 0 / 0.5585 GB, free: 2.688 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.6717, allocations: 0 / 0.5585 GB, free: 2.688 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.001637/0.6733, allocations: 1.163 MB / 0.5597 GB, free: 1.934 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.6734, allocations: 6.938 kB / 0.5597 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.201e-05/0.6734, allocations: 95.72 kB / 0.5597 GB, free: 1.887 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004616/0.6739, allocations: 480.4 kB / 0.5602 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.674, allocations: 37.81 kB / 0.5602 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.674, allocations: 52.91 kB / 0.5603 GB, free: 1.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005848/0.6746, allocations: 0.6079 MB / 0.5609 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.6746, allocations: 3.938 kB / 0.5609 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.489e-05/0.6747, allocations: 26.97 kB / 0.5609 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.6747, allocations: 12.22 kB / 0.5609 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.675, allocations: 257.5 kB / 0.5612 GB, free: 1.188 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004047/0.6791, allocations: 7.082 MB / 0.5681 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.434e-05/0.6792, allocations: 172 kB / 0.5683 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.85e-05/0.6792, allocations: 81.22 kB / 0.5683 GB, free: 10.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.6793, allocations: 79.28 kB / 0.5684 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/0.6793, allocations: 105.8 kB / 0.5685 GB, free: 10.08 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 2.154e-06/0.6793, allocations: 0 / 0.5685 GB, free: 10.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001537/0.6795, allocations: 119.6 kB / 0.5686 GB, free: 10 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.6796, allocations: 129.2 kB / 0.5687 GB, free: 9.867 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000771/0.6803, allocations: 0.7674 MB / 0.5695 GB, free: 9.723 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.6804, allocations: 25.7 kB / 0.5695 GB, free: 9.691 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.6806, allocations: 392.4 kB / 0.5699 GB, free: 9.562 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.99e-06/0.6806, allocations: 3.344 kB / 0.5699 GB, free: 9.562 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.6807, allocations: 13.41 kB / 0.5699 GB, free: 9.547 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.6808, allocations: 316.2 kB / 0.5702 GB, free: 9.242 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.07e-05/0.6808, allocations: 12.48 kB / 0.5702 GB, free: 9.242 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.742e-05/0.6809, allocations: 91.64 kB / 0.5703 GB, free: 9.145 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.6811, allocations: 115.9 kB / 0.5704 GB, free: 9.031 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.6811, allocations: 2.25 kB / 0.5704 GB, free: 9.031 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003069/0.6814, allocations: 200.7 kB / 0.5706 GB, free: 8.941 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.6814, allocations: 6.656 kB / 0.5706 GB, free: 8.941 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.6814, allocations: 3.406 kB / 0.5706 GB, free: 8.941 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.6815, allocations: 2.75 kB / 0.5706 GB, free: 8.941 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.6816, allocations: 27.16 kB / 0.5707 GB, free: 8.938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.6816, allocations: 6.375 kB / 0.5707 GB, free: 8.938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002078/0.6818, allocations: 57.19 kB / 0.5707 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.6818, allocations: 4.938 kB / 0.5707 GB, free: 8.898 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.0001953/0.682, allocations: 236.9 kB / 0.5709 GB, free: 8.699 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.6822, allocations: 186.8 kB / 0.5711 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.6823, allocations: 166.3 kB / 0.5713 GB, free: 8.434 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.92e-05/0.6823, allocations: 186.5 kB / 0.5715 GB, free: 8.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.81e-05/0.6824, allocations: 180.3 kB / 0.5716 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.532e-05/0.6825, allocations: 185.3 kB / 0.5718 GB, free: 7.883 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004824/0.683, allocations: 0.6419 MB / 0.5724 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.214e-05/0.683, allocations: 108.5 kB / 0.5725 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.223e-05/0.6831, allocations: 109.7 kB / 0.5726 GB, free: 7.223 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.285e-05/0.6831, allocations: 176.3 kB / 0.5728 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.316e-05/0.6832, allocations: 185.6 kB / 0.573 GB, free: 6.855 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.634e-05/0.6833, allocations: 180.9 kB / 0.5732 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.597e-05/0.6833, allocations: 177.6 kB / 0.5733 GB, free: 6.496 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.6836, allocations: 389.8 kB / 0.5737 GB, free: 6.137 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.6837, allocations: 271.2 kB / 0.574 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.6839, allocations: 182.1 kB / 0.5741 GB, free: 5.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.6841, allocations: 101 kB / 0.5742 GB, free: 5.598 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.003e-05/0.6841, allocations: 185.3 kB / 0.5744 GB, free: 5.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.6842, allocations: 102.9 kB / 0.5745 GB, free: 5.309 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005467/0.6847, allocations: 0.5293 MB / 0.575 GB, free: 5.199 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6847, allocations: 4 kB / 0.575 GB, free: 5.195 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002176/0.6869, allocations: 0.7452 MB / 0.5758 GB, free: 5.09 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.002396/0.6893, allocations: 0.9941 MB / 0.5767 GB, free: 4.797 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.6895, allocations: 42.97 kB / 0.5768 GB, free: 4.789 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6895, allocations: 128 / 0.5768 GB, free: 4.789 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/0.6895, allocations: 4 kB / 0.5768 GB, free: 4.785 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/0.692, allocations: 0.9442 MB / 0.5777 GB, free: 4.219 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.6932, allocations: 1.141 MB / 0.5788 GB, free: 3.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.6935, allocations: 0.8784 MB / 0.5797 GB, free: 2.812 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003271/0.6939, allocations: 127.5 kB / 0.5798 GB, free: 2.777 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.417e-05/0.694, allocations: 49.41 kB / 0.5798 GB, free: 2.77 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.694, allocations: 0 / 0.5798 GB, free: 2.77 MB / 430.1 MB Notification: Performance of Templates: time 0.03794/0.7319, allocations: 26 MB / 0.6052 GB, free: 12.58 MB / 462.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestSources.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: