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.0008129/0.0008129, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0009086/0.0009086, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2218/0.2218, allocations: 22.35 MB / 313.4 MB, free: 13.17 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003894, allocations: 8 kB / 382 MB, free: 10.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2978, allocations: 55.99 MB / 438 MB, free: 39.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.001396/0.2992, allocations: 1.572 MB / 439.6 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003335/0.2996, allocations: 193.2 kB / 439.8 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.2996, allocations: 0 / 439.8 MB, free: 37.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.006e-05/0.2997, allocations: 17.69 kB / 439.8 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001187/0.2998, allocations: 52.66 kB / 439.9 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001292/0.2999, allocations: 42.72 kB / 439.9 MB, free: 37.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.3001, allocations: 210.1 kB / 440.1 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.3003, allocations: 92.72 kB / 440.2 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.489e-05/0.3003, allocations: 80.39 kB / 440.3 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.3005, allocations: 104.2 kB / 440.4 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.3005, allocations: 14.81 kB / 440.4 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.035e-05/0.3005, allocations: 15.31 kB / 440.4 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.988e-05/0.3006, allocations: 41.55 kB / 440.4 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.3006, allocations: 50.23 kB / 440.5 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.3007, allocations: 163.4 kB / 440.7 MB, free: 37.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3008, allocations: 0 / 440.7 MB, free: 37.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3008, allocations: 0 / 440.7 MB, free: 37.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.3008, allocations: 0 / 440.7 MB, free: 37.59 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.0005686/0.3013, allocations: 447.6 kB / 441.1 MB, free: 37.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.3014, allocations: 7.25 kB / 441.1 MB, free: 37.19 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.921e-05/0.3014, allocations: 46.55 kB / 441.1 MB, free: 37.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.3015, allocations: 17.53 kB / 441.2 MB, free: 37.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.3016, allocations: 194.9 kB / 441.3 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.942e-05/0.3017, allocations: 49.64 kB / 441.4 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.3017, allocations: 10.44 kB / 441.4 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000691/0.3024, allocations: 350 kB / 441.7 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3024, allocations: 0 / 441.7 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.3025, allocations: 10.81 kB / 441.8 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3025, allocations: 2.906 kB / 441.8 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006259/0.3031, allocations: 277.7 kB / 442 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.3047, allocations: 0.9849 MB / 443 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.305, allocations: 263.5 kB / 443.3 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.869e-05/0.305, allocations: 38.45 kB / 443.3 MB, free: 35.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.3051, allocations: 7.938 kB / 443.3 MB, free: 35.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.3051, allocations: 33.19 kB / 443.4 MB, free: 35.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.3051, allocations: 0 / 443.4 MB, free: 35.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001433/0.3065, allocations: 0.6407 MB / 444 MB, free: 35.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.3066, allocations: 57.91 kB / 444.1 MB, free: 35.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.3067, allocations: 186.5 kB / 444.2 MB, free: 35.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.3067, allocations: 33.67 kB / 444.3 MB, free: 35.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.3068, allocations: 106.3 kB / 444.4 MB, free: 34.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.3068, allocations: 62.45 kB / 444.4 MB, free: 34.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-06/0.3068, allocations: 8 kB / 444.4 MB, free: 34.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.657e-05/0.3069, allocations: 328.2 kB / 444.8 MB, free: 34.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.997e-05/0.3069, allocations: 37.36 kB / 444.8 MB, free: 34.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.816e-05/0.307, allocations: 95.06 kB / 444.9 MB, free: 34.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.847e-05/0.3071, allocations: 67.61 kB / 445 MB, free: 34.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3071, allocations: 3.094 kB / 445 MB, free: 34.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000227/0.3073, allocations: 185.9 kB / 445.1 MB, free: 34.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.3074, allocations: 5.75 kB / 445.1 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3074, allocations: 0 / 445.1 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3074, allocations: 3.062 kB / 445.1 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.3076, allocations: 66.34 kB / 445.2 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3076, allocations: 2.781 kB / 445.2 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.04e-05/0.3077, allocations: 10.72 kB / 445.2 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.3077, allocations: 5.219 kB / 445.2 MB, free: 34.37 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: stank.Tcold:VARIABLE(min = 0.0 start = stank.Tcoldstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.Thot:VARIABLE(min = 0.0 start = stank.Thotstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.lcold:VARIABLE(start = stank.lcoldstart unit = "m" fixed = true stateSelect=StateSelect.prefer ) "cold height" 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001609/0.3079, allocations: 151.1 kB / 445.4 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.3079, allocations: 14.69 kB / 445.4 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.385e-05/0.308, allocations: 24.86 kB / 445.4 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.308, allocations: 0 / 445.4 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.308, allocations: 3.953 kB / 445.4 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.308, allocations: 0 / 445.4 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005106/0.3085, allocations: 0.4899 MB / 445.9 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3085, allocations: 4 kB / 445.9 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.3087, allocations: 41.17 kB / 446 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.3088, allocations: 7.891 kB / 446 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.3088, allocations: 6.781 kB / 446 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.3088, allocations: 3.938 kB / 446 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3088, allocations: 0 / 446 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.309, allocations: 287.4 kB / 446.3 MB, free: 33.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.3091, allocations: 95.52 kB / 446.3 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.3091, allocations: 7.172 kB / 446.4 MB, free: 33.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.42e-05/0.3092, allocations: 4 kB / 446.4 MB, free: 33.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.3092, allocations: 9.312 kB / 446.4 MB, free: 33.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.3092, allocations: 2.969 kB / 446.4 MB, free: 33.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.569e-05/0.3093, allocations: 143.8 kB / 446.5 MB, free: 33.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3093, allocations: 0 / 446.5 MB, free: 33.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.3096, allocations: 33.94 kB / 446.5 MB, free: 33.36 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003834/0.31, allocations: 0.8184 MB / 447.4 MB, free: 32.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.3102, allocations: 128 kB / 447.5 MB, free: 32.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3102, allocations: 384 / 447.5 MB, free: 32.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.148e-05/0.3103, allocations: 52.89 kB / 447.5 MB, free: 32.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.3106, allocations: 37.11 kB / 447.6 MB, free: 32.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.3119, allocations: 1.264 MB / 448.8 MB, free: 31.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.312, allocations: 0.7179 MB / 449.6 MB, free: 31.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.72e-05/0.3121, allocations: 17.36 kB / 449.6 MB, free: 31.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.522e-05/0.3122, allocations: 42.84 kB / 449.6 MB, free: 30.99 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3122, allocations: 0 / 449.6 MB, free: 30.99 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0112/0.3234, allocations: 3.288 MB / 452.9 MB, free: 30.75 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001151/0.3235, allocations: 164.7 kB / 453.1 MB, free: 30.51 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/2.005, allocations: 0 / 453.1 MB, free: 30.51 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/linux/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) Environment - environmentSimulation: