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.001103/0.001103, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.196/1.196, allocations: 222.9 MB / 240.2 MB, free: 4.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1799/0.1799, allocations: 22.35 MB / 312.7 MB, free: 12.44 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 59.89 kB / 380.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2127, allocations: 54.94 MB / 435.9 MB, free: 39.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_001): time 0.002407/0.2151, allocations: 2.606 MB / 438.5 MB, free: 37.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008762/0.216, allocations: 0.815 MB / 439.3 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.102e-05/0.2161, allocations: 8.969 kB / 439.3 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.2162, allocations: 39.28 kB / 439.3 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.2165, allocations: 138.8 kB / 439.5 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.2167, allocations: 126.5 kB / 439.6 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.217, allocations: 473 kB / 440.1 MB, free: 37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002879/0.2173, allocations: 339.2 kB / 440.4 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.2175, allocations: 214.4 kB / 440.6 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.2177, allocations: 289.5 kB / 440.9 MB, free: 36.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.837e-05/0.2178, allocations: 48.03 kB / 440.9 MB, free: 36.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.2179, allocations: 87.69 kB / 441 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.55e-05/0.218, allocations: 149.6 kB / 441.2 MB, free: 36.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.2181, allocations: 243.2 kB / 441.4 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002989/0.2185, allocations: 0.5547 MB / 442 MB, free: 36.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2185, allocations: 2.938 kB / 442 MB, free: 36.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2185, allocations: 0 / 442 MB, free: 36.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.2185, allocations: 3.938 kB / 442 MB, free: 36.21 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.001109/0.2196, allocations: 0.7437 MB / 442.7 MB, free: 35.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.702e-05/0.2196, allocations: 10.62 kB / 442.7 MB, free: 35.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.888e-05/0.2197, allocations: 67.53 kB / 442.8 MB, free: 35.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.866e-05/0.2198, allocations: 42.25 kB / 442.8 MB, free: 35.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.22, allocations: 326.8 kB / 443.1 MB, free: 35.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.2201, allocations: 30.44 kB / 443.2 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.396e-05/0.2201, allocations: 36.22 kB / 443.2 MB, free: 35.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005185/0.2206, allocations: 405.7 kB / 443.6 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.2207, allocations: 0 / 443.6 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/0.2207, allocations: 14.94 kB / 443.6 MB, free: 35.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.2207, allocations: 8.562 kB / 443.6 MB, free: 35.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005306/0.2212, allocations: 390.1 kB / 444 MB, free: 34.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.2231, allocations: 1.326 MB / 445.3 MB, free: 34.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/0.2235, allocations: 308.2 kB / 445.6 MB, free: 34.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.2238, allocations: 207 kB / 445.8 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.2238, allocations: 7.094 kB / 445.9 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.2238, allocations: 34.56 kB / 445.9 MB, free: 33.97 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002643/0.2241, allocations: 56.64 kB / 445.9 MB, free: 33.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.723e-06/0.2241, allocations: 2.188 kB / 445.9 MB, free: 33.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001451/0.2256, allocations: 0.6972 MB / 446.6 MB, free: 33.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.65e-05/0.2256, allocations: 54.31 kB / 446.7 MB, free: 33.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.2258, allocations: 321.5 kB / 447 MB, free: 33.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.2259, allocations: 32.33 kB / 447 MB, free: 33.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.2259, allocations: 203.2 kB / 447.2 MB, free: 33.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.164e-05/0.226, allocations: 104.6 kB / 447.3 MB, free: 33.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.2261, allocations: 81.38 kB / 447.4 MB, free: 33.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.288e-05/0.2261, allocations: 340.2 kB / 447.8 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/0.2264, allocations: 162.9 kB / 447.9 MB, free: 32.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.2266, allocations: 225.2 kB / 448.1 MB, free: 32.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004953/0.2271, allocations: 400 kB / 448.5 MB, free: 32.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2271, allocations: 3.938 kB / 448.5 MB, free: 32.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009239/0.2281, allocations: 0.5452 MB / 449.1 MB, free: 32.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.2281, allocations: 5.094 kB / 449.1 MB, free: 32.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2281, allocations: 2.562 kB / 449.1 MB, free: 32.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005308/0.2286, allocations: 90 kB / 449.2 MB, free: 32.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004455/0.2291, allocations: 102.3 kB / 449.3 MB, free: 32.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002528/0.2294, allocations: 0.5863 MB / 449.9 MB, free: 31.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.2296, allocations: 12.58 kB / 449.9 MB, free: 31.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.2297, allocations: 20.47 kB / 449.9 MB, free: 31.47 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.0001153/0.2298, allocations: 156.4 kB / 450 MB, free: 31.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.808e-05/0.2298, allocations: 35.72 kB / 450.1 MB, free: 31.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009373/0.2308, allocations: 0.5187 MB / 450.6 MB, free: 31.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2308, allocations: 5.25 kB / 450.6 MB, free: 31.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.2308, allocations: 0 / 450.6 MB, free: 31.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2308, allocations: 3.328 kB / 450.6 MB, free: 31.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003459/0.2312, allocations: 465 kB / 451.1 MB, free: 30.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2312, allocations: 2.625 kB / 451.1 MB, free: 30.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004005/0.2316, allocations: 82.83 kB / 451.1 MB, free: 30.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003672/0.232, allocations: 85.08 kB / 451.2 MB, free: 30.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.232, allocations: 10.62 kB / 451.2 MB, free: 30.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002241/0.2322, allocations: 0.5815 MB / 451.8 MB, free: 30.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2322, allocations: 3.938 kB / 451.8 MB, free: 30.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.2333, allocations: 0.7661 MB / 452.6 MB, free: 29.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.2333, allocations: 114.3 kB / 452.7 MB, free: 29.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.535e-05/0.2334, allocations: 9.594 kB / 452.7 MB, free: 29.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.2336, allocations: 15.2 kB / 452.7 MB, free: 29.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.2337, allocations: 28.98 kB / 452.7 MB, free: 29.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.2337, allocations: 9.688 kB / 452.8 MB, free: 29.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001432/0.2339, allocations: 228.9 kB / 453 MB, free: 29.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2339, allocations: 0 / 453 MB, free: 29.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003136/0.2342, allocations: 112.3 kB / 453.1 MB, free: 29.49 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.00107/0.2353, allocations: 1.276 MB / 454.4 MB, free: 28.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008132/0.2361, allocations: 469.7 kB / 454.8 MB, free: 28.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2361, allocations: 0 / 454.8 MB, free: 28.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004063/0.2365, allocations: 221.3 kB / 455 MB, free: 28.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.2369, allocations: 93.94 kB / 455.1 MB, free: 28.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004368/0.2413, allocations: 4.123 MB / 459.3 MB, free: 25.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.2415, allocations: 0.8116 MB / 460.1 MB, free: 25.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002271/0.2417, allocations: 76.8 kB / 460.1 MB, free: 25.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.2419, allocations: 134.7 kB / 460.3 MB, free: 24.96 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2419, allocations: 1.125 kB / 460.3 MB, free: 24.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.976/4.218, allocations: 9.406 MB / 469.7 MB, free: 23.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/19.45, allocations: 13.84 kB / 469.7 MB, free: 23.95 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)