Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_stank_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_stank_001,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_stank_001,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_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.001544/0.001544, 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.001925/0.001925, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1861/0.1861, allocations: 22.33 MB / 312.7 MB, free: 12.55 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.91 kB / 380.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2245, allocations: 54.93 MB / 435.9 MB, free: 39.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.002225/0.2267, allocations: 1.815 MB / 437.7 MB, free: 38.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003033/0.227, allocations: 184.3 kB / 437.9 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.898e-05/0.2271, allocations: 2.531 kB / 437.9 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.663e-05/0.2271, allocations: 18.14 kB / 437.9 MB, free: 38.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001037/0.2273, allocations: 46.44 kB / 437.9 MB, free: 38.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.2274, allocations: 64.83 kB / 438 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.2275, allocations: 226.4 kB / 438.2 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.2277, allocations: 107.3 kB / 438.3 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.634e-05/0.2278, allocations: 97.27 kB / 438.4 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.2279, allocations: 112.5 kB / 438.5 MB, free: 37.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.228, allocations: 23.16 kB / 438.6 MB, free: 37.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.324e-05/0.228, allocations: 27.09 kB / 438.6 MB, free: 37.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.302e-05/0.228, allocations: 47.17 kB / 438.6 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.803e-05/0.2281, allocations: 81.12 kB / 438.7 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.2282, allocations: 221.8 kB / 438.9 MB, free: 37.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.2283, allocations: 0 / 438.9 MB, free: 37.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2283, allocations: 0 / 438.9 MB, free: 37.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.2283, allocations: 0 / 438.9 MB, free: 37.82 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006325/0.2289, allocations: 481.5 kB / 439.4 MB, free: 37.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.2289, allocations: 9.094 kB / 439.4 MB, free: 37.4 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.723e-05/0.229, allocations: 45.28 kB / 439.4 MB, free: 37.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.229, allocations: 20.19 kB / 439.5 MB, free: 37.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.922e-05/0.2291, allocations: 199.2 kB / 439.7 MB, free: 37.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.44e-05/0.2292, allocations: 52.95 kB / 439.7 MB, free: 37.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.2293, allocations: 13.69 kB / 439.7 MB, free: 37.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006803/0.23, allocations: 311 kB / 440 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.23, allocations: 0 / 440 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.23, allocations: 4 kB / 440 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.23, allocations: 6.906 kB / 440 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006292/0.2306, allocations: 224.8 kB / 440.3 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.2322, allocations: 0.9632 MB / 441.2 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.2324, allocations: 261.3 kB / 441.5 MB, free: 35.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.663e-05/0.2325, allocations: 44.2 kB / 441.5 MB, free: 35.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.385e-06/0.2325, allocations: 0 / 441.5 MB, free: 35.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.187e-05/0.2325, allocations: 33.34 kB / 441.5 MB, free: 35.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.2325, allocations: 4 kB / 441.6 MB, free: 35.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001386/0.2339, allocations: 0.6248 MB / 442.2 MB, free: 35.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.145e-05/0.2339, allocations: 60.97 kB / 442.2 MB, free: 35.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.234, allocations: 184.8 kB / 442.4 MB, free: 35.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.2341, allocations: 29.42 kB / 442.4 MB, free: 35.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.2341, allocations: 120.9 kB / 442.6 MB, free: 35.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.2341, allocations: 54.69 kB / 442.6 MB, free: 35.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.2342, allocations: 36.52 kB / 442.7 MB, free: 35.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.776e-05/0.2342, allocations: 336.1 kB / 443 MB, free: 34.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.684e-05/0.2343, allocations: 43 kB / 443 MB, free: 34.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.699e-05/0.2344, allocations: 91.62 kB / 443.1 MB, free: 34.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006723/0.235, allocations: 310.9 kB / 443.4 MB, free: 34.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.235, allocations: 0 / 443.4 MB, free: 34.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002134/0.2353, allocations: 198.1 kB / 443.6 MB, free: 34.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.2353, allocations: 5.625 kB / 443.6 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2353, allocations: 2.938 kB / 443.6 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2353, allocations: 3.688 kB / 443.6 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.2355, allocations: 46.81 kB / 443.7 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.2355, allocations: 14.08 kB / 443.7 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.28e-05/0.2356, allocations: 10.69 kB / 443.7 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.2356, allocations: 6.938 kB / 443.7 MB, free: 34.44 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: stank.lcold:VARIABLE(start = stank.lcoldstart unit = "m" fixed = true stateSelect=StateSelect.prefer ) "cold height" type: Real stank.Thot:VARIABLE(min = 0.0 start = stank.Thotstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.Tcold:VARIABLE(min = 0.0 start = stank.Tcoldstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001376/0.2358, allocations: 143.1 kB / 443.8 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.2358, allocations: 16.09 kB / 443.9 MB, free: 34.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.657e-05/0.2359, allocations: 24.47 kB / 443.9 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2359, allocations: 6.016 kB / 443.9 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2359, allocations: 3.938 kB / 443.9 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.2359, allocations: 4 kB / 443.9 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004662/0.2363, allocations: 495.5 kB / 444.4 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2364, allocations: 0 / 444.4 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.2366, allocations: 47.97 kB / 444.4 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2366, allocations: 0 / 444.4 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.2366, allocations: 10.67 kB / 444.4 MB, free: 33.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2366, allocations: 0 / 444.4 MB, free: 33.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2366, allocations: 4.031 kB / 444.4 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.2368, allocations: 293.4 kB / 444.7 MB, free: 33.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.957e-05/0.2369, allocations: 94.45 kB / 444.8 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.2369, allocations: 10.19 kB / 444.8 MB, free: 33.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.328e-05/0.237, allocations: 0 / 444.8 MB, free: 33.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.237, allocations: 9.25 kB / 444.8 MB, free: 33.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.237, allocations: 14.94 kB / 444.8 MB, free: 33.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.79e-05/0.2371, allocations: 137.4 kB / 445 MB, free: 33.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2371, allocations: 0 / 445 MB, free: 33.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.2374, allocations: 37.34 kB / 445 MB, free: 33.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (stank.lcold,stank.Thot,stank.Tcold) * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003445/0.2377, allocations: 0.8222 MB / 445.8 MB, free: 32.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.2379, allocations: 134.2 kB / 446 MB, free: 32.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2379, allocations: 0 / 446 MB, free: 32.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.675e-05/0.238, allocations: 55.03 kB / 446 MB, free: 32.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.2383, allocations: 35.66 kB / 446.1 MB, free: 32.61 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.2398, allocations: 2.207 MB / 448.3 MB, free: 30.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.788e-05/0.2399, allocations: 0.7097 MB / 449 MB, free: 30.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.913e-05/0.24, allocations: 22.84 kB / 449 MB, free: 30.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.023e-05/0.2401, allocations: 39.58 kB / 449 MB, free: 30.11 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2401, allocations: 3.562 kB / 449 MB, free: 30.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.221/0.4611, allocations: 3.568 MB / 452.6 MB, free: 29.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.146/7.607, allocations: 23.25 kB / 452.6 MB, free: 29.64 MB / 350.1 MB (rm -f AES_AES.Devel_test_models.Test_stank_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_stank_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_stank_001.pipe >> ../files/AES_AES.Devel_test_models.Test_stank_001.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_stank_001_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_stank_001.fmu > AES_AES.Devel_test_models.Test_stank_001.pipe 2>&1)