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.001011/0.001011, allocations: 90.44 kB / 15.36 MB, free: 0.7383 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.007777/0.007777, allocations: 171.5 kB / 16.26 MB, free: 6.676 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.352/1.352, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2024/0.2024, allocations: 22.35 MB / 313.8 MB, free: 13.05 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003044/0.0003042, allocations: 8 kB / 382.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2453, allocations: 55.99 MB / 438.7 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.001442/0.2468, allocations: 1.608 MB / 440.3 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003448/0.2472, allocations: 194.2 kB / 440.5 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.2473, allocations: 2.781 kB / 440.5 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.229e-05/0.2473, allocations: 10.5 kB / 440.5 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.2474, allocations: 40 kB / 440.5 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.2476, allocations: 55.14 kB / 440.6 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.2478, allocations: 219.4 kB / 440.8 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.248, allocations: 105 kB / 440.9 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.66e-05/0.248, allocations: 86.44 kB / 441 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.2482, allocations: 100.8 kB / 441.1 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.026e-05/0.2482, allocations: 14.06 kB / 441.1 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.981e-05/0.2483, allocations: 15.22 kB / 441.1 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.26e-05/0.2483, allocations: 43.22 kB / 441.2 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.151e-05/0.2484, allocations: 109.1 kB / 441.3 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.2485, allocations: 202.1 kB / 441.5 MB, free: 37.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2485, allocations: 0 / 441.5 MB, free: 37.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2485, allocations: 0 / 441.5 MB, free: 37.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.2486, allocations: 2.438 kB / 441.5 MB, free: 37.48 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.0006193/0.2492, allocations: 445.7 kB / 441.9 MB, free: 37.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.2492, allocations: 11.94 kB / 441.9 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.097e-05/0.2493, allocations: 47.31 kB / 442 MB, free: 37.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.2493, allocations: 23.03 kB / 442 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.2494, allocations: 198.9 kB / 442.2 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-05/0.2495, allocations: 57.45 kB / 442.2 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.99e-05/0.2496, allocations: 9.281 kB / 442.2 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000828/0.2504, allocations: 344.5 kB / 442.6 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.2504, allocations: 0 / 442.6 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.2505, allocations: 3.125 kB / 442.6 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.2505, allocations: 6.906 kB / 442.6 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007431/0.2512, allocations: 270.8 kB / 442.9 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.2529, allocations: 0.9877 MB / 443.8 MB, free: 35.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.2532, allocations: 265.4 kB / 444.1 MB, free: 35.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.885e-05/0.2533, allocations: 40 kB / 444.1 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.659e-06/0.2533, allocations: 2.781 kB / 444.1 MB, free: 35.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.005e-05/0.2533, allocations: 30.56 kB / 444.2 MB, free: 35.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.2533, allocations: 0 / 444.2 MB, free: 35.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001515/0.2548, allocations: 0.6441 MB / 444.8 MB, free: 35.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.761e-05/0.2549, allocations: 58.34 kB / 444.9 MB, free: 35.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.255, allocations: 197.1 kB / 445.1 MB, free: 35.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.255, allocations: 29.7 kB / 445.1 MB, free: 34.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.2551, allocations: 109.2 kB / 445.2 MB, free: 34.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.2551, allocations: 60.67 kB / 445.3 MB, free: 34.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.2551, allocations: 27.78 kB / 445.3 MB, free: 34.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.283e-05/0.2552, allocations: 329.2 kB / 445.6 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.495e-05/0.2552, allocations: 40.89 kB / 445.6 MB, free: 34.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.693e-05/0.2553, allocations: 95.53 kB / 445.7 MB, free: 34.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007509/0.2561, allocations: 311.7 kB / 446 MB, free: 34.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2561, allocations: 2.656 kB / 446 MB, free: 34.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002321/0.2563, allocations: 186.7 kB / 446.2 MB, free: 34.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.2564, allocations: 8.891 kB / 446.2 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2564, allocations: 3.125 kB / 446.2 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.2564, allocations: 2.969 kB / 446.2 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.2566, allocations: 59.56 kB / 446.3 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.2566, allocations: 3.094 kB / 446.3 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.554e-05/0.2567, allocations: 11 kB / 446.3 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.2567, allocations: 5.844 kB / 446.3 MB, free: 34.11 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.000155/0.2569, allocations: 151.8 kB / 446.5 MB, free: 33.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.2569, allocations: 13.72 kB / 446.5 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.836e-05/0.257, allocations: 27.38 kB / 446.5 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.257, allocations: 6.797 kB / 446.5 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.257, allocations: 0 / 446.5 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.257, allocations: 3.938 kB / 446.5 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/0.2576, allocations: 497.5 kB / 447 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2576, allocations: 4.031 kB / 447 MB, free: 33.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.2578, allocations: 43.7 kB / 447.1 MB, free: 33.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2578, allocations: 3.938 kB / 447.1 MB, free: 33.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.2578, allocations: 7.062 kB / 447.1 MB, free: 33.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2578, allocations: 0 / 447.1 MB, free: 33.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2578, allocations: 0 / 447.1 MB, free: 33.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.2581, allocations: 287.6 kB / 447.3 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/0.2581, allocations: 102.8 kB / 447.4 MB, free: 33.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.2582, allocations: 2.844 kB / 447.4 MB, free: 33.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.2583, allocations: 4 kB / 447.5 MB, free: 33.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.294e-05/0.2583, allocations: 8.906 kB / 447.5 MB, free: 33.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.2583, allocations: 2.812 kB / 447.5 MB, free: 33.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.113e-05/0.2584, allocations: 140.5 kB / 447.6 MB, free: 33.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2584, allocations: 0 / 447.6 MB, free: 33.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.2587, allocations: 36.97 kB / 447.6 MB, free: 33.11 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.0003825/0.2591, allocations: 0.8251 MB / 448.5 MB, free: 32.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001849/0.2593, allocations: 120.5 kB / 448.6 MB, free: 32.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2593, allocations: 0 / 448.6 MB, free: 32.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.435e-05/0.2593, allocations: 56.03 kB / 448.6 MB, free: 32.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.2597, allocations: 38.33 kB / 448.7 MB, free: 32.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.2617, allocations: 2.321 MB / 451 MB, free: 30.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.2618, allocations: 0.7158 MB / 451.7 MB, free: 29.78 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.7e-05/0.2619, allocations: 16.5 kB / 451.7 MB, free: 29.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.746e-05/0.2619, allocations: 40.97 kB / 451.8 MB, free: 29.75 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2619, allocations: 0 / 451.8 MB, free: 29.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3271/0.589, allocations: 3.296 MB / 455.1 MB, free: 29.51 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/0.5893, allocations: 165 kB / 455.2 MB, free: 29.26 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.856/2.445, allocations: 0 / 455.2 MB, free: 29.26 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)