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.001135/0.001136, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001139/0.001139, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.171/1.171, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.163/0.163, allocations: 22.36 MB / 312.4 MB, free: 12.6 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 67.89 kB / 380.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2137, allocations: 54.93 MB / 435.3 MB, free: 39.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_006): time 0.002531/0.2162, allocations: 2.625 MB / 438 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009406/0.2172, allocations: 0.7715 MB / 438.7 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.2174, allocations: 2.75 kB / 438.7 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.2175, allocations: 31.61 kB / 438.8 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.2177, allocations: 120.2 kB / 438.9 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.2181, allocations: 127.1 kB / 439 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003554/0.2184, allocations: 0.5606 MB / 439.6 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002853/0.2187, allocations: 328.5 kB / 439.9 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.2189, allocations: 252.1 kB / 440.1 MB, free: 36.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002988/0.2192, allocations: 362.3 kB / 440.5 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.329e-05/0.2193, allocations: 61.94 kB / 440.5 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.059e-05/0.2194, allocations: 60.5 kB / 440.6 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.2195, allocations: 184.8 kB / 440.8 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.2196, allocations: 270.4 kB / 441.1 MB, free: 36.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003152/0.22, allocations: 0.6357 MB / 441.7 MB, free: 36.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.22, allocations: 0 / 441.7 MB, free: 36.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.22, allocations: 0 / 441.7 MB, free: 36.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.22, allocations: 0 / 441.7 MB, free: 36.04 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.001389/0.2214, allocations: 0.7883 MB / 442.5 MB, free: 35.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.2214, allocations: 8.062 kB / 442.5 MB, free: 35.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.774e-05/0.2215, allocations: 68.36 kB / 442.6 MB, free: 35.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.73e-05/0.2216, allocations: 52.44 kB / 442.6 MB, free: 35.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002772/0.2218, allocations: 345.5 kB / 442.9 MB, free: 35.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.2219, allocations: 22.5 kB / 443 MB, free: 35.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.274e-05/0.2219, allocations: 39.31 kB / 443 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006552/0.2226, allocations: 483.2 kB / 443.5 MB, free: 34.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2226, allocations: 2.906 kB / 443.5 MB, free: 34.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.198e-05/0.2227, allocations: 10.94 kB / 443.5 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.2227, allocations: 9.5 kB / 443.5 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007274/0.2234, allocations: 0.5263 MB / 444 MB, free: 34.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001919/0.2253, allocations: 1.309 MB / 445.3 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005238/0.2259, allocations: 399.8 kB / 445.7 MB, free: 33.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.2262, allocations: 237.8 kB / 446 MB, free: 33.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.2262, allocations: 14.12 kB / 446 MB, free: 33.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.2263, allocations: 37.31 kB / 446 MB, free: 33.73 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002056/0.2265, allocations: 54.56 kB / 446.1 MB, free: 33.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.453e-06/0.2265, allocations: 0 / 446.1 MB, free: 33.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.00102/0.2275, allocations: 0.6548 MB / 446.7 MB, free: 33.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.702e-05/0.2275, allocations: 56.75 kB / 446.8 MB, free: 33.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.2278, allocations: 354.3 kB / 447.1 MB, free: 33.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.2278, allocations: 36.83 kB / 447.1 MB, free: 33.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.823e-05/0.2279, allocations: 207.6 kB / 447.4 MB, free: 32.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.537e-05/0.228, allocations: 158.9 kB / 447.5 MB, free: 32.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.2281, allocations: 103.7 kB / 447.6 MB, free: 32.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.617e-05/0.2282, allocations: 353.5 kB / 448 MB, free: 32.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003331/0.2285, allocations: 235.4 kB / 448.2 MB, free: 32.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/0.2289, allocations: 348.2 kB / 448.5 MB, free: 32.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006881/0.2296, allocations: 0.582 MB / 449.1 MB, free: 31.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2296, allocations: 2.469 kB / 449.1 MB, free: 31.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0009667/0.2305, allocations: 0.6954 MB / 449.8 MB, free: 31.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2306, allocations: 6.156 kB / 449.8 MB, free: 31.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.2306, allocations: 10.61 kB / 449.8 MB, free: 31.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.2306, allocations: 5.25 kB / 449.8 MB, free: 31.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00224/0.2329, allocations: 281.6 kB / 450.1 MB, free: 31.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/0.2345, allocations: 2.839 MB / 452.9 MB, free: 28.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005247/0.235, allocations: 28.8 kB / 453 MB, free: 28.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.42e-05/0.2351, allocations: 23.62 kB / 453 MB, free: 28.59 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.0001864/0.2353, allocations: 183.8 kB / 453.2 MB, free: 28.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.2354, allocations: 43.75 kB / 453.2 MB, free: 28.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.2367, allocations: 0.5857 MB / 453.8 MB, free: 28.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2367, allocations: 6.5 kB / 453.8 MB, free: 28.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.2367, allocations: 0 / 453.8 MB, free: 28.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.2368, allocations: 0 / 453.8 MB, free: 28.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001952/0.2387, allocations: 1.167 MB / 455 MB, free: 27.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2387, allocations: 3.031 kB / 455 MB, free: 27.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001814/0.2405, allocations: 232.4 kB / 455.2 MB, free: 27.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.2406, allocations: 2.281 kB / 455.2 MB, free: 27.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.546e-05/0.2406, allocations: 17.47 kB / 455.2 MB, free: 27.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.2418, allocations: 2.848 MB / 458.1 MB, free: 24.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2418, allocations: 0 / 458.1 MB, free: 24.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.2429, allocations: 0.88 MB / 458.9 MB, free: 24.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.2429, allocations: 114 kB / 459.1 MB, free: 23.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.606e-05/0.243, allocations: 13.06 kB / 459.1 MB, free: 23.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/0.2434, allocations: 21.52 kB / 459.1 MB, free: 23.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.907e-05/0.2435, allocations: 36.56 kB / 459.1 MB, free: 23.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/0.2435, allocations: 20.77 kB / 459.1 MB, free: 23.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001841/0.2437, allocations: 246.7 kB / 459.4 MB, free: 23.83 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2437, allocations: 5.312 kB / 459.4 MB, free: 23.83 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004208/0.2441, allocations: 151.5 kB / 459.5 MB, free: 23.8 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.001243/0.2454, allocations: 1.417 MB / 461 MB, free: 22.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.2467, allocations: 0.6922 MB / 461.7 MB, free: 22.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2467, allocations: 0 / 461.7 MB, free: 22.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007413/0.2475, allocations: 305.6 kB / 462 MB, free: 22.53 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.2479, allocations: 93.11 kB / 462 MB, free: 22.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00625/0.2542, allocations: 5.493 MB / 467.5 MB, free: 19.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.2544, allocations: 0.82 MB / 468.4 MB, free: 18.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003541/0.2548, allocations: 119.8 kB / 468.5 MB, free: 18.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.255, allocations: 143.8 kB / 468.6 MB, free: 18.4 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.255, allocations: 4.875 kB / 468.6 MB, free: 18.4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.363/1.618, allocations: 11.28 MB / 479.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/1.618, allocations: 210 kB / 480.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.297/3.915, allocations: 4.516 kB / 480.1 MB, free: 15.71 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)