Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(AES.ProcessComponents.Thermal.Liquid.TubeWall,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Liquid_TubeWall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessComponents.Thermal.Liquid.TubeWall,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Liquid_TubeWall",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.001041/0.001041, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0012/0.0012, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2237/0.2237, allocations: 22.35 MB / 313.3 MB, free: 13.19 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004237/0.0004238, allocations: 8 kB / 381.9 MB, free: 10.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3249, allocations: 55.98 MB / 437.9 MB, free: 39.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Liquid.TubeWall): time 0.001404/0.3263, allocations: 1.241 MB / 439.1 MB, free: 38.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005942/0.3269, allocations: 445.5 kB / 439.6 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.843e-05/0.327, allocations: 3.938 kB / 439.6 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.3271, allocations: 17.59 kB / 439.6 MB, free: 38.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.428e-05/0.3272, allocations: 41.64 kB / 439.6 MB, free: 38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.3274, allocations: 24.91 kB / 439.7 MB, free: 37.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.3276, allocations: 235.3 kB / 439.9 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.3278, allocations: 110.8 kB / 440 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.328, allocations: 123.9 kB / 440.1 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.3281, allocations: 123.1 kB / 440.2 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.627e-05/0.3282, allocations: 15.75 kB / 440.3 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.749e-05/0.3282, allocations: 15.88 kB / 440.3 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.164e-05/0.3283, allocations: 112.6 kB / 440.4 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.017e-05/0.3284, allocations: 75.64 kB / 440.5 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.3286, allocations: 288.2 kB / 440.7 MB, free: 37.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.3286, allocations: 0 / 440.7 MB, free: 37.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.105e-06/0.3286, allocations: 2.562 kB / 440.7 MB, free: 37.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.361e-06/0.3286, allocations: 0 / 440.7 MB, free: 37.63 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001001/0.3296, allocations: 0.6562 MB / 441.4 MB, free: 37.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.3297, allocations: 7.719 kB / 441.4 MB, free: 37.19 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.344e-05/0.3297, allocations: 62.97 kB / 441.5 MB, free: 37.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.906e-05/0.3298, allocations: 34.42 kB / 441.5 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.3301, allocations: 280.9 kB / 441.8 MB, free: 36.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.3302, allocations: 17.88 kB / 441.8 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.652e-05/0.3302, allocations: 28.44 kB / 441.8 MB, free: 36.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005118/0.3307, allocations: 373.2 kB / 442.2 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3308, allocations: 0 / 442.2 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.3308, allocations: 15.12 kB / 442.2 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.3308, allocations: 5.656 kB / 442.2 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003535/0.3312, allocations: 246.3 kB / 442.4 MB, free: 36.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/0.3331, allocations: 1.777 MB / 444.2 MB, free: 35.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005876/0.3337, allocations: 438.1 kB / 444.7 MB, free: 34.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.3337, allocations: 2.969 kB / 444.7 MB, free: 34.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.3337, allocations: 48.88 kB / 444.7 MB, free: 34.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.513e-06/0.3338, allocations: 0 / 444.7 MB, free: 34.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008064/0.3346, allocations: 430.7 kB / 445.1 MB, free: 34.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.648e-05/0.3347, allocations: 158 kB / 445.3 MB, free: 34.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.3349, allocations: 203.5 kB / 445.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.3349, allocations: 29.7 kB / 445.5 MB, free: 34.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.335, allocations: 157.7 kB / 445.7 MB, free: 34.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.3352, allocations: 115.1 kB / 445.8 MB, free: 34.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.3352, allocations: 14.91 kB / 445.8 MB, free: 34.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.3353, allocations: 335.2 kB / 446.1 MB, free: 33.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.3356, allocations: 165.7 kB / 446.3 MB, free: 33.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/0.3359, allocations: 280.2 kB / 446.6 MB, free: 33.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.3362, allocations: 222.6 kB / 446.8 MB, free: 33.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3362, allocations: 0 / 446.8 MB, free: 33.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007086/0.337, allocations: 0.4936 MB / 447.3 MB, free: 33.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.337, allocations: 7.062 kB / 447.3 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.337, allocations: 7.375 kB / 447.3 MB, free: 33.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/0.337, allocations: 9.141 kB / 447.3 MB, free: 33.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/0.3376, allocations: 144.6 kB / 447.4 MB, free: 33.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.3376, allocations: 9.688 kB / 447.4 MB, free: 33.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002132/0.3378, allocations: 40.69 kB / 447.5 MB, free: 33.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.3379, allocations: 15.62 kB / 447.5 MB, free: 33.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (50): * Single equations (assignments): 50 * 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.0001701/0.3381, allocations: 173.1 kB / 447.7 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.3382, allocations: 30.75 kB / 447.7 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.468e-05/0.3383, allocations: 38.53 kB / 447.7 MB, free: 33.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.3383, allocations: 2.875 kB / 447.7 MB, free: 33.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.3383, allocations: 3.094 kB / 447.7 MB, free: 33.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3383, allocations: 0 / 447.7 MB, free: 33.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006252/0.3389, allocations: 407.9 kB / 448.1 MB, free: 32.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.339, allocations: 2.969 kB / 448.1 MB, free: 32.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005962/0.3396, allocations: 126.4 kB / 448.3 MB, free: 32.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3396, allocations: 0 / 448.3 MB, free: 32.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.3396, allocations: 22.42 kB / 448.3 MB, free: 32.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3396, allocations: 6.906 kB / 448.3 MB, free: 32.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.3396, allocations: 2.781 kB / 448.3 MB, free: 32.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008125/0.3405, allocations: 0.8467 MB / 449.1 MB, free: 32.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8e-05/0.3406, allocations: 102.2 kB / 449.2 MB, free: 32.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.738e-05/0.3406, allocations: 25.17 kB / 449.3 MB, free: 32.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.3409, allocations: 24.2 kB / 449.3 MB, free: 32.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.563e-05/0.341, allocations: 18.73 kB / 449.3 MB, free: 32.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.341, allocations: 5.562 kB / 449.3 MB, free: 32.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.3411, allocations: 155.6 kB / 449.5 MB, free: 31.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3411, allocations: 0 / 449.5 MB, free: 31.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006787/0.3418, allocations: 107.4 kB / 449.6 MB, free: 31.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 15 (wall.T[1,1],wall.T[1,2],wall.T[1,3],wall.T[2,1],wall.T[2,2],wall.T[2,3],wall.T[3,1],wall.T[3,2],wall.T[3,3],wall.T[4,1],wall.T[4,2],wall.T[4,3],wall.T[5,1],wall.T[5,2],wall.T[5,3]) * 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 (25): * Single equations (assignments): 25 * 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.001083/0.3429, allocations: 1.666 MB / 451.2 MB, free: 30.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006019/0.3435, allocations: 362.2 kB / 451.6 MB, free: 30.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3436, allocations: 0 / 451.6 MB, free: 30.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001879/0.3438, allocations: 143.8 kB / 451.7 MB, free: 30.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005556/0.3443, allocations: 89.45 kB / 451.8 MB, free: 30.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004448/0.3488, allocations: 5.158 MB / 457 MB, free: 26.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.3491, allocations: 0.7995 MB / 457.8 MB, free: 25.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003197/0.3495, allocations: 151.4 kB / 457.9 MB, free: 25.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.3496, allocations: 83.31 kB / 458 MB, free: 25.61 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3496, allocations: 0 / 458 MB, free: 25.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.3715, allocations: 6.641 MB / 464.6 MB, free: 25.24 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/0.3717, allocations: 166.2 kB / 464.8 MB, free: 25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.098/3.47, allocations: 1.062 kB / 464.8 MB, free: 25 MB / 350.1 MB (rm -f AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe ; mkfifo AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe >> ../files/AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_ProcessComponents_Thermal_Liquid_TubeWall_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AES_AES_ProcessComponents_Thermal_Liquid_TubeWall.fmu > AES_AES.ProcessComponents.Thermal.Liquid.TubeWall.pipe 2>&1) Environment - environmentSimulation: