Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.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.DistributedParameterComponents.TestWalls,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWalls",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWalls,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWalls",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.0009213/0.0009213, allocations: 88.53 kB / 16.31 MB, free: 6.449 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.0008819/0.000882, allocations: 183 kB / 17.21 MB, free: 6.316 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.569/1.569, allocations: 205.4 MB / 223.4 MB, free: 5.281 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4223/0.4223, allocations: 48.76 MB / 320.4 MB, free: 3.867 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.0007401/0.0007403, allocations: 14.97 kB / 391.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1378, allocations: 60.25 MB / 451.5 MB, free: 1.785 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Thermal.mo:605:5-605: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/Thermal.mo:605:5-605: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.DistributedParameterComponents.TestWalls): time 0.1948/0.3327, allocations: 2.031 MB / 453.6 MB, free: 47.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.3339, allocations: 0.6557 MB / 454.2 MB, free: 47.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.334, allocations: 9.688 kB / 454.2 MB, free: 47.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.3342, allocations: 41.42 kB / 454.3 MB, free: 47.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003822/0.3346, allocations: 194.3 kB / 454.5 MB, free: 47.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.3347, allocations: 46.64 kB / 454.5 MB, free: 47.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004604/0.3352, allocations: 0.5929 MB / 455.1 MB, free: 47.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.3354, allocations: 111.1 kB / 455.2 MB, free: 47.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.3356, allocations: 139.6 kB / 455.3 MB, free: 47.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002359/0.3358, allocations: 202.1 kB / 455.5 MB, free: 47.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.3358, allocations: 15.88 kB / 455.6 MB, free: 47.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.821e-05/0.3359, allocations: 21.75 kB / 455.6 MB, free: 47.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.3361, allocations: 132 kB / 455.7 MB, free: 47.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.913e-05/0.3361, allocations: 74.08 kB / 455.8 MB, free: 46.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.3363, allocations: 224 kB / 456 MB, free: 46.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.3364, allocations: 6.719 kB / 456 MB, free: 46.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3364, allocations: 0.7656 kB / 456 MB, free: 46.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3364, allocations: 0 / 456 MB, free: 46.96 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006758/0.3371, allocations: 0.5508 MB / 456.6 MB, free: 46.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.3371, allocations: 14.08 kB / 456.6 MB, free: 46.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.817e-05/0.3372, allocations: 50.94 kB / 456.6 MB, free: 46.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.525e-05/0.3372, allocations: 34.38 kB / 456.7 MB, free: 46.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.3375, allocations: 290.9 kB / 456.9 MB, free: 46.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.3375, allocations: 13.12 kB / 456.9 MB, free: 46.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.3376, allocations: 25.75 kB / 457 MB, free: 46.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/0.338, allocations: 261.6 kB / 457.2 MB, free: 46.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.338, allocations: 0 / 457.2 MB, free: 46.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.338, allocations: 3.938 kB / 457.2 MB, free: 46.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.338, allocations: 13.86 kB / 457.2 MB, free: 46.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/0.3384, allocations: 191.7 kB / 457.4 MB, free: 46.16 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.3394, allocations: 0.9427 MB / 458.4 MB, free: 45.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004432/0.3399, allocations: 191.8 kB / 458.6 MB, free: 45.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.34, allocations: 77.95 kB / 458.6 MB, free: 45.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.34, allocations: 0 / 458.6 MB, free: 45.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.3401, allocations: 42.97 kB / 458.7 MB, free: 45.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.163e-06/0.3401, allocations: 0 / 458.7 MB, free: 45.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005161/0.3406, allocations: 253.9 kB / 458.9 MB, free: 45.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.3406, allocations: 109.5 kB / 459 MB, free: 45.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.3408, allocations: 262.9 kB / 459.3 MB, free: 45.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.3409, allocations: 29.14 kB / 459.3 MB, free: 45.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.237e-05/0.3409, allocations: 158.3 kB / 459.5 MB, free: 45.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.341, allocations: 56.39 kB / 459.5 MB, free: 45.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-06/0.341, allocations: 3.125 kB / 459.5 MB, free: 45.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.3411, allocations: 331.8 kB / 459.9 MB, free: 44.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.3412, allocations: 76.25 kB / 459.9 MB, free: 44.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.3413, allocations: 102.3 kB / 460 MB, free: 44.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.3415, allocations: 90.7 kB / 460.1 MB, free: 44.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3415, allocations: 6.797 kB / 460.1 MB, free: 44.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003439/0.3419, allocations: 237.8 kB / 460.4 MB, free: 44.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3419, allocations: 5.5 kB / 460.4 MB, free: 44.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3419, allocations: 2.719 kB / 460.4 MB, free: 44.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.3419, allocations: 0.6875 kB / 460.4 MB, free: 44.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.3421, allocations: 59.3 kB / 460.4 MB, free: 44.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3422, allocations: 2.562 kB / 460.4 MB, free: 44.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.3423, allocations: 27.53 kB / 460.5 MB, free: 44.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.3423, allocations: 5.375 kB / 460.5 MB, free: 44.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 17 * 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.0001036/0.3424, allocations: 159.1 kB / 460.6 MB, free: 44.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.622e-05/0.3425, allocations: 32.61 kB / 460.6 MB, free: 44.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.006e-05/0.3425, allocations: 35.38 kB / 460.7 MB, free: 44.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.3426, allocations: 2.656 kB / 460.7 MB, free: 44.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3426, allocations: 0 / 460.7 MB, free: 44.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3426, allocations: 2.5 kB / 460.7 MB, free: 44.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.3429, allocations: 306.9 kB / 461 MB, free: 44.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3429, allocations: 0 / 461 MB, free: 44.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.3432, allocations: 56.62 kB / 461 MB, free: 44.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.3432, allocations: 4 kB / 461 MB, free: 44.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.3432, allocations: 5.188 kB / 461.1 MB, free: 44.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3432, allocations: 2.969 kB / 461.1 MB, free: 44.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3432, allocations: 0 / 461.1 MB, free: 44.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004985/0.3437, allocations: 459.6 kB / 461.5 MB, free: 44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.718e-05/0.3438, allocations: 118.1 kB / 461.6 MB, free: 43.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.3439, allocations: 8.922 kB / 461.6 MB, free: 43.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.344, allocations: 19.44 kB / 461.6 MB, free: 43.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.3441, allocations: 12.77 kB / 461.7 MB, free: 43.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.3441, allocations: 2.812 kB / 461.7 MB, free: 43.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.3442, allocations: 190.8 kB / 461.8 MB, free: 43.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3443, allocations: 0 / 461.8 MB, free: 43.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003336/0.3446, allocations: 63.44 kB / 461.9 MB, free: 43.8 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (wall1.Tvol[1],wall1.Tvol[2],wall2.Tvol[1],wall2.Tvol[2]) * 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 (13): * Single equations (assignments): 13 * 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.0007189/0.3453, allocations: 0.9955 MB / 462.9 MB, free: 43.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003126/0.3456, allocations: 159 kB / 463.1 MB, free: 43.03 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3457, allocations: 4.125 kB / 463.1 MB, free: 43.03 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.3458, allocations: 83.36 kB / 463.1 MB, free: 43.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005206/0.3463, allocations: 74.62 kB / 463.2 MB, free: 43.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.3485, allocations: 1.859 MB / 465.1 MB, free: 42.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.3487, allocations: 0.7785 MB / 465.9 MB, free: 41.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.3489, allocations: 54.2 kB / 465.9 MB, free: 41.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.349, allocations: 80.73 kB / 466 MB, free: 41.51 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.349, allocations: 0 / 466 MB, free: 41.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01676/0.3657, allocations: 5.576 MB / 471.6 MB, free: 41.02 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001281/0.3659, allocations: 185.8 kB / 471.7 MB, free: 40.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.928/2.294, allocations: 7.875 kB / 471.8 MB, free: 40.78 MB / 382.1 MB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWalls_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWalls.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWalls.pipe 2>&1) Environment - environmentSimulation: