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: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestSources,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestSources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestSources,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestSources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009788/0.0009787, allocations: 94.55 kB / 16.3 MB, free: 5.992 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.001156/0.001156, allocations: 181.3 kB / 17.19 MB, free: 5.906 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.794/1.794, allocations: 205.4 MB / 223.4 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6109/0.6109, allocations: 48.78 MB / 320.4 MB, free: 3.836 MB / 254.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.0009641/0.0009642, allocations: 16 kB / 391.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1514, allocations: 60.24 MB / 451.5 MB, free: 1.855 MB / 382.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.3225/0.474, allocations: 72.52 MB / 0.5117 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004454/0.4785, allocations: 1.151 MB / 0.5128 GB, free: 496 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.4799, allocations: 27.53 kB / 0.5129 GB, free: 480 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.4813, allocations: 199.2 kB / 0.5131 GB, free: 300 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002845/0.4842, allocations: 494.7 kB / 0.5135 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02122/0.5054, allocations: 3.647 MB / 0.5171 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003459/0.5089, allocations: 0.8676 MB / 0.5179 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.5104, allocations: 329.8 kB / 0.5183 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.5118, allocations: 332.5 kB / 0.5186 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.513, allocations: 290.8 kB / 0.5189 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001783/0.5132, allocations: 16.69 kB / 0.5189 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01801/0.5312, allocations: 4.039 MB / 0.5228 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003521/0.5316, allocations: 83.52 kB / 0.5229 GB, free: 9.367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006596/0.5323, allocations: 165.3 kB / 0.5231 GB, free: 9.199 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008817/0.5412, allocations: 1.957 MB / 0.525 GB, free: 7.246 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.5413, allocations: 4 kB / 0.525 GB, free: 7.242 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.478e-06/0.5413, allocations: 0 / 0.525 GB, free: 7.242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.067e-05/0.5414, allocations: 3.938 kB / 0.525 GB, free: 7.238 MB / 398.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.003742/0.5451, allocations: 1.158 MB / 0.5261 GB, free: 6.031 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.171e-05/0.5452, allocations: 12.02 kB / 0.5261 GB, free: 6.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002023/0.5454, allocations: 86.53 kB / 0.5262 GB, free: 5.926 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002861/0.5458, allocations: 98.86 kB / 0.5263 GB, free: 5.828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.5471, allocations: 454.6 kB / 0.5267 GB, free: 5.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.739e-05/0.5472, allocations: 40.94 kB / 0.5268 GB, free: 5.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.891e-05/0.5473, allocations: 48 kB / 0.5268 GB, free: 5.254 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.5487, allocations: 0.5932 MB / 0.5274 GB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.151e-05/0.5488, allocations: 11.92 kB / 0.5274 GB, free: 4.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-05/0.5489, allocations: 24 kB / 0.5274 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.521e-05/0.5489, allocations: 20 kB / 0.5274 GB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008049/0.5497, allocations: 244 kB / 0.5277 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009789/0.5596, allocations: 7.125 MB / 0.5346 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.5598, allocations: 169.1 kB / 0.5348 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/0.5598, allocations: 75.28 kB / 0.5349 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.885e-05/0.5599, allocations: 111.5 kB / 0.535 GB, free: 11.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 3.797e-06/0.5599, allocations: 4 kB / 0.535 GB, free: 11.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0002961/0.5602, allocations: 100.8 kB / 0.5351 GB, free: 11.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.383e-05/0.5603, allocations: 134.6 kB / 0.5352 GB, free: 11.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.562, allocations: 0.7685 MB / 0.5359 GB, free: 10.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.562, allocations: 29.7 kB / 0.536 GB, free: 10.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005356/0.5626, allocations: 393.7 kB / 0.5364 GB, free: 10.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.883e-06/0.5626, allocations: 0 / 0.5364 GB, free: 10.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/0.5626, allocations: 0 / 0.5364 GB, free: 10.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.5628, allocations: 310 kB / 0.5366 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.442e-05/0.5629, allocations: 20.03 kB / 0.5367 GB, free: 10.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.5631, allocations: 95.66 kB / 0.5368 GB, free: 10.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.5632, allocations: 28 kB / 0.5368 GB, free: 10.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.5633, allocations: 0 / 0.5368 GB, free: 10.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006796/0.5639, allocations: 196.8 kB / 0.537 GB, free: 9.816 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.564, allocations: 8.031 kB / 0.537 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.564, allocations: 4 kB / 0.537 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.5641, allocations: 4 kB / 0.537 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.5643, allocations: 35.86 kB / 0.537 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/0.5643, allocations: 7.953 kB / 0.537 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/0.5648, allocations: 47.28 kB / 0.5371 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/0.5649, allocations: 12.77 kB / 0.5371 GB, free: 9.699 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003721/0.5653, allocations: 237 kB / 0.5373 GB, free: 9.457 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/0.5656, allocations: 184 kB / 0.5375 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.5658, allocations: 175.6 kB / 0.5377 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001234/0.566, allocations: 176.3 kB / 0.5378 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001003/0.5661, allocations: 180.2 kB / 0.538 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001065/0.5662, allocations: 184.2 kB / 0.5382 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.5672, allocations: 0.6457 MB / 0.5388 GB, free: 7.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.406e-05/0.5673, allocations: 104.9 kB / 0.5389 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.331e-05/0.5674, allocations: 106 kB / 0.539 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000118/0.5675, allocations: 188.2 kB / 0.5392 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.5677, allocations: 176.3 kB / 0.5394 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.56e-05/0.5678, allocations: 176.3 kB / 0.5395 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001136/0.5679, allocations: 184.2 kB / 0.5397 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.5683, allocations: 394.8 kB / 0.5401 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003851/0.5687, allocations: 253.1 kB / 0.5403 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002747/0.569, allocations: 180.3 kB / 0.5405 GB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004083/0.5695, allocations: 107.1 kB / 0.5406 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.5696, allocations: 192.2 kB / 0.5408 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-05/0.5697, allocations: 104.9 kB / 0.5409 GB, free: 5.594 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001261/0.571, allocations: 0.5232 MB / 0.5414 GB, free: 5.059 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.62e-07/0.571, allocations: 0 / 0.5414 GB, free: 5.059 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003772/0.5748, allocations: 0.7454 MB / 0.5421 GB, free: 4.312 MB / 414.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006175/0.581, allocations: 1.686 MB / 0.5438 GB, free: 2.602 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002761/0.5813, allocations: 43.84 kB / 0.5438 GB, free: 2.559 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.5814, allocations: 0.75 kB / 0.5438 GB, free: 2.559 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.169e-06/0.5814, allocations: 0 / 0.5438 GB, free: 2.559 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004728/0.5861, allocations: 0.9481 MB / 0.5447 GB, free: 1.605 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/0.5978, allocations: 5.206 MB / 0.5498 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008051/0.5987, allocations: 0.8901 MB / 0.5507 GB, free: 11.33 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009628/0.5997, allocations: 129.5 kB / 0.5508 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005161/0.6002, allocations: 251.3 kB / 0.551 GB, free: 10.95 MB / 430.1 MB Notification: Performance of SimCode: time 4.709e-06/0.6003, allocations: 7.938 kB / 0.551 GB, free: 10.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09998/0.7003, allocations: 33.28 MB / 0.5836 GB, free: 9.711 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003433/0.7007, allocations: 168.7 kB / 0.5837 GB, free: 9.473 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.392/4.092, allocations: 3.938 kB / 0.5837 GB, free: 9.469 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_TestSources_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_TestSources.fmu > ThermoPower_ThermoPower.Test.WaterComponents.TestSources.pipe 2>&1) Environment - environmentSimulation: