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.001223/0.001223, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001244/0.001244, allocations: 187.9 kB / 16.25 MB, free: 6.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.186/1.186, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1715/0.1715, allocations: 22.35 MB / 312.4 MB, free: 12.61 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 67.89 kB / 380.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2041, allocations: 54.94 MB / 435.3 MB, free: 39.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_001): time 0.002689/0.2069, allocations: 2.915 MB / 438.3 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009192/0.2078, allocations: 0.8452 MB / 439.1 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.2079, allocations: 2.719 kB / 439.1 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.2081, allocations: 41.52 kB / 439.1 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002316/0.2083, allocations: 103.4 kB / 439.2 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.2086, allocations: 116.2 kB / 439.4 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002905/0.2089, allocations: 475.7 kB / 439.8 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002907/0.2092, allocations: 335 kB / 440.1 MB, free: 36.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.2093, allocations: 213.5 kB / 440.4 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.2096, allocations: 305.7 kB / 440.7 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.3e-05/0.2096, allocations: 48 kB / 440.7 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.2098, allocations: 80.11 kB / 440.8 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.493e-05/0.2098, allocations: 157.6 kB / 440.9 MB, free: 36.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.21, allocations: 239.5 kB / 441.2 MB, free: 35.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.2103, allocations: 0.5637 MB / 441.7 MB, free: 35.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2103, allocations: 0 / 441.7 MB, free: 35.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2103, allocations: 0 / 441.7 MB, free: 35.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.2103, allocations: 7.844 kB / 441.7 MB, free: 35.7 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.001156/0.2115, allocations: 0.7339 MB / 442.5 MB, free: 35.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.68e-05/0.2115, allocations: 13.72 kB / 442.5 MB, free: 35.15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.861e-05/0.2116, allocations: 68.5 kB / 442.6 MB, free: 35.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.039e-05/0.2117, allocations: 41.78 kB / 442.6 MB, free: 35.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.2119, allocations: 329.1 kB / 442.9 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.2119, allocations: 24.72 kB / 442.9 MB, free: 34.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.319e-05/0.212, allocations: 31.5 kB / 443 MB, free: 34.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005551/0.2126, allocations: 408 kB / 443.4 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2126, allocations: 3.938 kB / 443.4 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/0.2126, allocations: 14.84 kB / 443.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.2126, allocations: 8.688 kB / 443.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005339/0.2132, allocations: 389.5 kB / 443.8 MB, free: 34.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.2151, allocations: 1.317 MB / 445.1 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.2155, allocations: 311.5 kB / 445.4 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.2158, allocations: 201 kB / 445.6 MB, free: 33.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.2158, allocations: 14.12 kB / 445.6 MB, free: 33.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.263e-05/0.2158, allocations: 30.56 kB / 445.6 MB, free: 33.48 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002834/0.2161, allocations: 69.72 kB / 445.7 MB, free: 33.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.433e-06/0.2161, allocations: 0 / 445.7 MB, free: 33.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001484/0.2176, allocations: 0.6936 MB / 446.4 MB, free: 33.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.866e-05/0.2176, allocations: 54.62 kB / 446.5 MB, free: 33.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.2179, allocations: 319.3 kB / 446.8 MB, free: 32.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.2179, allocations: 29.7 kB / 446.8 MB, free: 32.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.694e-05/0.218, allocations: 204.9 kB / 447 MB, free: 32.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.623e-05/0.218, allocations: 104.2 kB / 447.1 MB, free: 32.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.2181, allocations: 79.75 kB / 447.2 MB, free: 32.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.314e-05/0.2182, allocations: 349.5 kB / 447.5 MB, free: 32.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.2184, allocations: 163.6 kB / 447.7 MB, free: 32.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.2187, allocations: 221.7 kB / 447.9 MB, free: 32.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005108/0.2192, allocations: 404.1 kB / 448.3 MB, free: 31.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2192, allocations: 0 / 448.3 MB, free: 31.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009472/0.2202, allocations: 0.5322 MB / 448.8 MB, free: 31.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.2202, allocations: 5.25 kB / 448.8 MB, free: 31.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2202, allocations: 6.75 kB / 448.8 MB, free: 31.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005619/0.2208, allocations: 93.08 kB / 448.9 MB, free: 31.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004662/0.2213, allocations: 97.84 kB / 449 MB, free: 31.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002614/0.2215, allocations: 0.5787 MB / 449.6 MB, free: 30.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.2218, allocations: 23.12 kB / 449.6 MB, free: 30.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.2219, allocations: 21.11 kB / 449.6 MB, free: 30.98 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.222, allocations: 155.5 kB / 449.8 MB, free: 30.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/0.222, allocations: 32.34 kB / 449.8 MB, free: 30.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009622/0.223, allocations: 0.514 MB / 450.3 MB, free: 30.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.223, allocations: 7.25 kB / 450.3 MB, free: 30.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.223, allocations: 7.938 kB / 450.4 MB, free: 30.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.223, allocations: 3.188 kB / 450.4 MB, free: 30.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/0.2234, allocations: 468.4 kB / 450.8 MB, free: 30.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2234, allocations: 0 / 450.8 MB, free: 30.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/0.2238, allocations: 85.12 kB / 450.9 MB, free: 30.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003861/0.2242, allocations: 81.47 kB / 451 MB, free: 30.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.2243, allocations: 11.47 kB / 451 MB, free: 30.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002255/0.2245, allocations: 0.5733 MB / 451.6 MB, free: 29.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2245, allocations: 6.656 kB / 451.6 MB, free: 29.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.2256, allocations: 0.7591 MB / 452.3 MB, free: 29.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.2257, allocations: 112.5 kB / 452.4 MB, free: 29.17 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.848e-05/0.2257, allocations: 9.859 kB / 452.4 MB, free: 29.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.226, allocations: 16.33 kB / 452.5 MB, free: 29.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.2261, allocations: 25.2 kB / 452.5 MB, free: 29.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.2261, allocations: 11.5 kB / 452.5 MB, free: 29.15 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.2262, allocations: 228.4 kB / 452.7 MB, free: 29.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2262, allocations: 0 / 452.7 MB, free: 29.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003203/0.2266, allocations: 106.8 kB / 452.8 MB, free: 29.01 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001102/0.2277, allocations: 1.296 MB / 454.1 MB, free: 28.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008025/0.2285, allocations: 462 kB / 454.6 MB, free: 27.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2285, allocations: 320 / 454.6 MB, free: 27.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003937/0.2289, allocations: 230.2 kB / 454.8 MB, free: 27.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.2293, allocations: 88.17 kB / 454.9 MB, free: 27.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004552/0.2339, allocations: 4.255 MB / 459.1 MB, free: 25.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.2341, allocations: 0.8078 MB / 459.9 MB, free: 24.42 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002402/0.2343, allocations: 76.45 kB / 460 MB, free: 24.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.2345, allocations: 135.8 kB / 460.2 MB, free: 24.32 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2345, allocations: 0 / 460.2 MB, free: 24.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.328/1.562, allocations: 9.269 MB / 469.4 MB, free: 23.64 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/1.562, allocations: 215.7 kB / 469.6 MB, free: 23.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.126/3.688, allocations: 0 / 469.6 MB, free: 23.39 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/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)