Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_001.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.Devel_test_models.Test_liquid_circuit_001,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_001,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_001",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.0008072/0.0008073, allocations: 91.38 kB / 15.06 MB, free: 1.094 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.0008731/0.0008731, allocations: 172.7 kB / 15.95 MB, free: 204 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.365/1.365, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.22/0.22, allocations: 22.34 MB / 313.4 MB, free: 13.08 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003737, allocations: 12 kB / 382 MB, free: 10.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3046, allocations: 55.98 MB / 438 MB, free: 39.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_001): time 0.002198/0.3068, allocations: 2.433 MB / 440.5 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.308, allocations: 0.8099 MB / 441.3 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.3081, allocations: 3.812 kB / 441.3 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.3083, allocations: 39.84 kB / 441.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003046/0.3086, allocations: 139 kB / 441.4 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.3089, allocations: 98.33 kB / 441.5 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003994/0.3093, allocations: 492.2 kB / 442 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003673/0.3097, allocations: 278.1 kB / 442.3 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.3099, allocations: 189 kB / 442.5 MB, free: 36.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002985/0.3102, allocations: 275.6 kB / 442.7 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.395e-05/0.3102, allocations: 31.22 kB / 442.8 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.3104, allocations: 61.84 kB / 442.8 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.3105, allocations: 137.2 kB / 443 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.153e-05/0.3106, allocations: 90.39 kB / 443.1 MB, free: 36.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.3109, allocations: 426 kB / 443.5 MB, free: 36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.3109, allocations: 0 / 443.5 MB, free: 36 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3109, allocations: 0 / 443.5 MB, free: 36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.3109, allocations: 0 / 443.5 MB, free: 36 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001145/0.3121, allocations: 0.6754 MB / 444.1 MB, free: 35.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3121, allocations: 9.719 kB / 444.2 MB, free: 35.49 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.099e-05/0.3122, allocations: 69.16 kB / 444.2 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.92e-05/0.3123, allocations: 38.47 kB / 444.3 MB, free: 35.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.3126, allocations: 335.9 kB / 444.6 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.3126, allocations: 22.84 kB / 444.6 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.887e-05/0.3127, allocations: 31.25 kB / 444.6 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006523/0.3134, allocations: 410.6 kB / 445 MB, free: 34.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.3134, allocations: 0 / 445 MB, free: 34.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.858e-05/0.3134, allocations: 10.53 kB / 445.1 MB, free: 34.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.3134, allocations: 7.75 kB / 445.1 MB, free: 34.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006082/0.3141, allocations: 385.1 kB / 445.4 MB, free: 34.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002093/0.3162, allocations: 1.33 MB / 446.8 MB, free: 34.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/0.3166, allocations: 315.8 kB / 447.1 MB, free: 33.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/0.3169, allocations: 205.9 kB / 447.3 MB, free: 33.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.317, allocations: 6.859 kB / 447.3 MB, free: 33.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.317, allocations: 38.16 kB / 447.3 MB, free: 33.81 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002214/0.3172, allocations: 44.02 kB / 447.4 MB, free: 33.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.533e-06/0.3172, allocations: 0 / 447.4 MB, free: 33.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001514/0.3188, allocations: 0.6722 MB / 448 MB, free: 33.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.3188, allocations: 58.12 kB / 448.1 MB, free: 33.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.3191, allocations: 314.5 kB / 448.4 MB, free: 33.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.3191, allocations: 33.08 kB / 448.4 MB, free: 33.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.38e-05/0.3192, allocations: 198.1 kB / 448.6 MB, free: 33.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.321e-05/0.3193, allocations: 109.8 kB / 448.7 MB, free: 32.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.3193, allocations: 11.66 kB / 448.7 MB, free: 32.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.545e-05/0.3194, allocations: 346.3 kB / 449.1 MB, free: 32.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002719/0.3197, allocations: 163.9 kB / 449.2 MB, free: 32.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.32, allocations: 216.6 kB / 449.5 MB, free: 32.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.3203, allocations: 189.9 kB / 449.6 MB, free: 32.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3203, allocations: 0 / 449.6 MB, free: 32.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009877/0.3213, allocations: 0.5152 MB / 450.2 MB, free: 32.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.3213, allocations: 8.344 kB / 450.2 MB, free: 32.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.3213, allocations: 6.219 kB / 450.2 MB, free: 32.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005795/0.3219, allocations: 91.86 kB / 450.3 MB, free: 32.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.3224, allocations: 97.45 kB / 450.4 MB, free: 32.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003365/0.3228, allocations: 0.5807 MB / 450.9 MB, free: 31.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.323, allocations: 15.2 kB / 450.9 MB, free: 31.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.3231, allocations: 16.84 kB / 451 MB, free: 31.5 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (41): * Single equations (assignments): 40 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001573/0.3232, allocations: 158.2 kB / 451.1 MB, free: 31.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-05/0.3233, allocations: 33.98 kB / 451.2 MB, free: 31.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.3243, allocations: 0.5128 MB / 451.7 MB, free: 31.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.3243, allocations: 5.25 kB / 451.7 MB, free: 31.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.3244, allocations: 0 / 451.7 MB, free: 31.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.3244, allocations: 3.281 kB / 451.7 MB, free: 31.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.326, allocations: 1.068 MB / 452.7 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.326, allocations: 0 / 452.7 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/0.3264, allocations: 81.38 kB / 452.8 MB, free: 30.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004091/0.3268, allocations: 86.72 kB / 452.9 MB, free: 30.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.508e-05/0.3269, allocations: 12.77 kB / 452.9 MB, free: 30.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002656/0.3272, allocations: 0.5891 MB / 453.5 MB, free: 29.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3272, allocations: 0 / 453.5 MB, free: 29.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.3283, allocations: 0.7578 MB / 454.3 MB, free: 29.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.942e-05/0.3284, allocations: 115 kB / 454.4 MB, free: 29.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.458e-05/0.3285, allocations: 10.89 kB / 454.4 MB, free: 29.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.3287, allocations: 10.22 kB / 454.4 MB, free: 29.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.96e-05/0.3288, allocations: 27.45 kB / 454.4 MB, free: 29.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.3289, allocations: 9.844 kB / 454.4 MB, free: 29.34 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001929/0.3291, allocations: 228.8 kB / 454.7 MB, free: 29.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.3291, allocations: 4 kB / 454.7 MB, free: 29.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000436/0.3295, allocations: 103.9 kB / 454.8 MB, free: 29.2 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5]) * 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 (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00129/0.3308, allocations: 1.274 MB / 456 MB, free: 28.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008507/0.3317, allocations: 416.3 kB / 456.4 MB, free: 28.12 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.3317, allocations: 0 / 456.4 MB, free: 28.12 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004093/0.3321, allocations: 214.8 kB / 456.7 MB, free: 28.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000485/0.3326, allocations: 88.23 kB / 456.7 MB, free: 28.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005673/0.3383, allocations: 2.829 MB / 459.6 MB, free: 26.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.3388, allocations: 0.8015 MB / 460.4 MB, free: 25.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003873/0.3392, allocations: 73.84 kB / 460.4 MB, free: 25.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.3395, allocations: 130.7 kB / 460.6 MB, free: 25.66 MB / 350.1 MB Notification: Performance of SimCode: time 1.733e-06/0.3395, allocations: 0 / 460.6 MB, free: 25.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.3647, allocations: 8.792 MB / 469.4 MB, free: 25.14 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001258/0.3649, allocations: 198.4 kB / 469.6 MB, free: 24.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.914/2.279, allocations: 0 / 469.6 MB, free: 24.9 MB / 350.1 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_001.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_001_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_001.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe 2>&1) Environment - environmentSimulation: