Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_006.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_006,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_006",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_006,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_006",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.001387/0.001387, allocations: 108 kB / 15.6 MB, free: 132 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.001353/0.001353, allocations: 195.3 kB / 16.54 MB, free: 6.672 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.289/1.289, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.172/0.172, allocations: 22.35 MB / 312.7 MB, free: 12.57 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 63.89 kB / 380.9 MB, free: 10.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2015, allocations: 54.94 MB / 435.9 MB, free: 39.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_006): time 0.002589/0.2041, allocations: 2.412 MB / 438.3 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008454/0.205, allocations: 0.7474 MB / 439 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.502e-05/0.2051, allocations: 6.656 kB / 439 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.2052, allocations: 43.81 kB / 439.1 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.2054, allocations: 133.5 kB / 439.2 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.2057, allocations: 142.3 kB / 439.4 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003526/0.2061, allocations: 0.5651 MB / 439.9 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000317/0.2064, allocations: 338.1 kB / 440.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.2066, allocations: 242.7 kB / 440.5 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003135/0.2069, allocations: 363.1 kB / 440.8 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.56e-05/0.207, allocations: 60.38 kB / 440.9 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.704e-05/0.2071, allocations: 59.12 kB / 441 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.2072, allocations: 178.7 kB / 441.1 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.2074, allocations: 263.2 kB / 441.4 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003412/0.2078, allocations: 0.6299 MB / 442 MB, free: 36.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2078, allocations: 4 kB / 442 MB, free: 36.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2078, allocations: 0 / 442 MB, free: 36.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.2078, allocations: 2.656 kB / 442 MB, free: 36.12 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001407/0.2092, allocations: 0.7927 MB / 442.8 MB, free: 35.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.2092, allocations: 9.469 kB / 442.8 MB, free: 35.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.539e-05/0.2093, allocations: 66.34 kB / 442.9 MB, free: 35.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.926e-05/0.2094, allocations: 52 kB / 442.9 MB, free: 35.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.2097, allocations: 349.7 kB / 443.3 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.2097, allocations: 20.25 kB / 443.3 MB, free: 35.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.695e-05/0.2098, allocations: 38.28 kB / 443.3 MB, free: 35.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006297/0.2104, allocations: 492.7 kB / 443.8 MB, free: 34.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2104, allocations: 0 / 443.8 MB, free: 34.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.227e-05/0.2105, allocations: 14.88 kB / 443.8 MB, free: 34.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2105, allocations: 5.656 kB / 443.8 MB, free: 34.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007283/0.2112, allocations: 0.5269 MB / 444.4 MB, free: 34.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.2132, allocations: 1.3 MB / 445.7 MB, free: 34.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005421/0.2138, allocations: 404.1 kB / 446.1 MB, free: 33.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.2141, allocations: 244.9 kB / 446.3 MB, free: 33.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.2142, allocations: 11.73 kB / 446.3 MB, free: 33.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.225e-05/0.2142, allocations: 39.94 kB / 446.4 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002067/0.2144, allocations: 50.75 kB / 446.4 MB, free: 33.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.512e-06/0.2144, allocations: 0 / 446.4 MB, free: 33.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.001031/0.2155, allocations: 0.663 MB / 447.1 MB, free: 33.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.787e-05/0.2155, allocations: 54.22 kB / 447.1 MB, free: 33.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.2157, allocations: 356.2 kB / 447.5 MB, free: 33.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.2158, allocations: 32.23 kB / 447.5 MB, free: 33.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.203e-05/0.2159, allocations: 201.8 kB / 447.7 MB, free: 33.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.831e-05/0.2159, allocations: 154.1 kB / 447.8 MB, free: 32.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.2161, allocations: 108 kB / 448 MB, free: 32.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5e-05/0.2161, allocations: 351.7 kB / 448.3 MB, free: 32.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/0.2165, allocations: 237 kB / 448.5 MB, free: 32.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003691/0.2169, allocations: 346.3 kB / 448.9 MB, free: 32.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006976/0.2176, allocations: 0.5822 MB / 449.5 MB, free: 31.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2176, allocations: 0 / 449.5 MB, free: 31.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008959/0.2185, allocations: 0.697 MB / 450.1 MB, free: 31.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.2185, allocations: 10.22 kB / 450.2 MB, free: 31.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2185, allocations: 6.562 kB / 450.2 MB, free: 31.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.2185, allocations: 5.25 kB / 450.2 MB, free: 31.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.22, allocations: 275.3 kB / 450.4 MB, free: 31.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.2211, allocations: 2.841 MB / 453.3 MB, free: 28.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003875/0.2215, allocations: 29.89 kB / 453.3 MB, free: 28.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/0.2216, allocations: 27.05 kB / 453.3 MB, free: 28.66 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.2217, allocations: 180.5 kB / 453.5 MB, free: 28.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.937e-05/0.2218, allocations: 42.16 kB / 453.6 MB, free: 28.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008661/0.2227, allocations: 0.5843 MB / 454.1 MB, free: 28.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.2227, allocations: 10.58 kB / 454.1 MB, free: 28.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.2227, allocations: 0 / 454.1 MB, free: 28.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2227, allocations: 3.469 kB / 454.1 MB, free: 28.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.224, allocations: 1.169 MB / 455.3 MB, free: 27.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.224, allocations: 5.156 kB / 455.3 MB, free: 27.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/0.2253, allocations: 226.2 kB / 455.5 MB, free: 27.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2253, allocations: 0.75 kB / 455.5 MB, free: 27.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.98e-05/0.2254, allocations: 18.67 kB / 455.6 MB, free: 27.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001083/0.2264, allocations: 2.846 MB / 458.4 MB, free: 24.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2265, allocations: 0 / 458.4 MB, free: 24.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.2276, allocations: 0.8701 MB / 459.3 MB, free: 24.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.2277, allocations: 119.3 kB / 459.4 MB, free: 24.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.848e-05/0.2277, allocations: 12.25 kB / 459.4 MB, free: 24.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003278/0.2281, allocations: 26.02 kB / 459.4 MB, free: 24.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.167e-05/0.2282, allocations: 37.19 kB / 459.5 MB, free: 24.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.2282, allocations: 11.81 kB / 459.5 MB, free: 24.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001866/0.2284, allocations: 250 kB / 459.7 MB, free: 23.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2284, allocations: 1.312 kB / 459.7 MB, free: 23.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004385/0.2288, allocations: 142.9 kB / 459.9 MB, free: 23.89 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (str1.T[1],str1.T[2],str1.T[3],str1.T[4],str1.T[5],str2.T[1],str2.T[2],str2.T[3],str2.T[4],str2.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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001272/0.2301, allocations: 1.427 MB / 461.3 MB, free: 22.9 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.2315, allocations: 0.6949 MB / 462 MB, free: 22.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2315, allocations: 4.25 kB / 462 MB, free: 22.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007303/0.2323, allocations: 302.6 kB / 462.3 MB, free: 22.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.2327, allocations: 98.62 kB / 462.4 MB, free: 22.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006721/0.2394, allocations: 5.35 MB / 467.7 MB, free: 19.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.2397, allocations: 0.8203 MB / 468.6 MB, free: 18.74 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003723/0.2401, allocations: 122.7 kB / 468.7 MB, free: 18.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.2403, allocations: 144.9 kB / 468.8 MB, free: 18.62 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2404, allocations: 0 / 468.8 MB, free: 18.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5444/0.7847, allocations: 11.43 MB / 480.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/12.15, allocations: 13.84 kB / 480.3 MB, free: 15.97 MB / 350.1 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_006.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_006_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_006.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe 2>&1)