Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_003.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_air_circ_003,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_003",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_003,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_003",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.0009703/0.0009703, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.0008687/0.0008688, allocations: 171.9 kB / 16.26 MB, free: 6.66 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.317/1.317, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1991/0.1991, allocations: 22.35 MB / 313.8 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.0002979, allocations: 8 kB / 382.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2187, allocations: 55.98 MB / 438.7 MB, free: 39.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_003): time 0.002077/0.2208, allocations: 3.152 MB / 441.8 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009859/0.2218, allocations: 1.102 MB / 442.9 MB, free: 36.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.2219, allocations: 5.656 kB / 442.9 MB, free: 36.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.632e-05/0.222, allocations: 41.34 kB / 443 MB, free: 36.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.2223, allocations: 160 kB / 443.1 MB, free: 36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.2225, allocations: 186.7 kB / 443.3 MB, free: 35.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004097/0.2229, allocations: 0.7864 MB / 444.1 MB, free: 35.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003442/0.2233, allocations: 384.9 kB / 444.5 MB, free: 35.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.2235, allocations: 307.5 kB / 444.8 MB, free: 35.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.2238, allocations: 363.3 kB / 445.1 MB, free: 35.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.022e-05/0.2239, allocations: 45.47 kB / 445.2 MB, free: 35.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.577e-05/0.2239, allocations: 42.41 kB / 445.2 MB, free: 35.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.063e-05/0.224, allocations: 135.8 kB / 445.4 MB, free: 35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.2242, allocations: 339.1 kB / 445.7 MB, free: 34.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003935/0.2246, allocations: 0.7799 MB / 446.5 MB, free: 34.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2246, allocations: 4 kB / 446.5 MB, free: 34.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2246, allocations: 0 / 446.5 MB, free: 34.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.2247, allocations: 0 / 446.5 MB, free: 34.57 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001305/0.226, allocations: 0.7574 MB / 447.2 MB, free: 34.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.226, allocations: 14.97 kB / 447.2 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.76e-05/0.2261, allocations: 107.8 kB / 447.4 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.192e-05/0.2262, allocations: 61.38 kB / 447.4 MB, free: 33.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.2263, allocations: 221.9 kB / 447.6 MB, free: 33.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.2263, allocations: 47.75 kB / 447.7 MB, free: 33.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.963e-05/0.2264, allocations: 72.48 kB / 447.7 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008058/0.2272, allocations: 0.6019 MB / 448.3 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.2273, allocations: 0 / 448.3 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.232e-05/0.2273, allocations: 34.97 kB / 448.4 MB, free: 33.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.839e-06/0.2273, allocations: 15.75 kB / 448.4 MB, free: 33.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00083/0.2282, allocations: 0.5973 MB / 449 MB, free: 33.16 MB / 350.1 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 293.15, confidence number = 2) * Candidate: V.air.T(start = 288.15, confidence number = 8) * Candidate: V.heatPort.T(start = 288.15, confidence number = 8) => Select value from V.T(start = V.Tstart = 293.15) for variable: V.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002323/0.2305, allocations: 1.956 MB / 451 MB, free: 31.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.2317, allocations: 0.6774 MB / 451.6 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003956/0.2321, allocations: 319.6 kB / 451.9 MB, free: 31.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.445e-05/0.2321, allocations: 13.42 kB / 452 MB, free: 31.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.2322, allocations: 45.97 kB / 452 MB, free: 31.52 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003843/0.2325, allocations: 101.2 kB / 452.1 MB, free: 31.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 1.773e-06/0.2326, allocations: 0 / 452.1 MB, free: 31.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=90): time 0.006268/0.2388, allocations: 2.939 MB / 455 MB, free: 30.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.2389, allocations: 61.53 kB / 455.1 MB, free: 29.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.239, allocations: 201.2 kB / 455.3 MB, free: 29.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/0.2391, allocations: 40.11 kB / 455.3 MB, free: 29.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.2391, allocations: 197.2 kB / 455.5 MB, free: 29.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.2393, allocations: 302.3 kB / 455.8 MB, free: 29.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.682e-05/0.2393, allocations: 66.62 kB / 455.9 MB, free: 29.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.662e-05/0.2394, allocations: 352.8 kB / 456.2 MB, free: 29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004032/0.2398, allocations: 275.9 kB / 456.5 MB, free: 28.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004277/0.2402, allocations: 344.1 kB / 456.8 MB, free: 28.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01499/0.2552, allocations: 2.881 MB / 459.7 MB, free: 28.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2552, allocations: 3.938 kB / 459.7 MB, free: 28.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001992/0.2572, allocations: 0.9425 MB / 460.7 MB, free: 27.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2573, allocations: 5.312 kB / 460.7 MB, free: 27.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2573, allocations: 0.8438 kB / 460.7 MB, free: 27.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/0.2584, allocations: 207.9 kB / 460.9 MB, free: 27.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003964/0.2623, allocations: 0.541 MB / 461.4 MB, free: 27.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005976/0.2683, allocations: 9.878 MB / 471.3 MB, free: 17.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004948/0.2688, allocations: 36.44 kB / 471.3 MB, free: 17.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-05/0.2689, allocations: 32.48 kB / 471.4 MB, free: 17.66 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: V.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))) start = V.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real V.T:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = V.Tstart 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: 2 * 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 (87): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,4,77.8%), (1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002855/0.2692, allocations: 217.4 kB / 471.6 MB, free: 17.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.572e-05/0.2693, allocations: 48.48 kB / 471.6 MB, free: 17.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/0.2718, allocations: 1.181 MB / 472.8 MB, free: 16.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.2719, allocations: 9.5 kB / 472.8 MB, free: 16.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.2719, allocations: 2.438 kB / 472.8 MB, free: 16.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.2719, allocations: 7.547 kB / 472.8 MB, free: 16.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003426/0.2753, allocations: 2.136 MB / 475 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.2753, allocations: 5.688 kB / 475 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003576/0.2789, allocations: 0.497 MB / 475.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00217/0.2811, allocations: 366.4 kB / 475.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.728e-05/0.2812, allocations: 25.8 kB / 475.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006376/0.2876, allocations: 10.13 MB / 486 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.2876, allocations: 11.78 kB / 486 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002784/0.2904, allocations: 1.675 MB / 487.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.316e-05/0.2905, allocations: 127.8 kB / 487.8 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.664e-05/0.2905, allocations: 27.11 kB / 487.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005207/0.2911, allocations: 41.72 kB / 487.8 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.2912, allocations: 101.4 kB / 487.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.034e-05/0.2913, allocations: 31.61 kB / 488 MB, free: 4.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.2914, allocations: 155 kB / 488.1 MB, free: 4.309 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2914, allocations: 0 / 488.1 MB, free: 4.309 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007315/0.2921, allocations: 198.9 kB / 488.3 MB, free: 4.273 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 3 (V.Mv,V.p,V.T) * 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 (86): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,4,77.8%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002868/0.295, allocations: 2.243 MB / 490.6 MB, free: 2.734 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Air/MAvolume.mo:13:3-13:61:writable] Warning: Variable $DER.V.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.004795/0.2998, allocations: 1.527 MB / 492.1 MB, free: 2.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2998, allocations: 1.219 kB / 492.1 MB, free: 2.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004041/0.3039, allocations: 1.214 MB / 493.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009553/0.3049, allocations: 144.3 kB / 493.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008015/0.3129, allocations: 5.816 MB / 499.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.3133, allocations: 0.8751 MB / 0.4884 GB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004801/0.3138, allocations: 90.7 kB / 0.4885 GB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003169/0.3141, allocations: 183.7 kB / 0.4887 GB, free: 12.1 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3141, allocations: 0 / 0.4887 GB, free: 12.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7217/1.036, allocations: 14.3 MB / 0.5026 GB, free: 14.31 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/1.036, allocations: 217.3 kB / 0.5028 GB, free: 14.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.242/3.278, allocations: 5.141 kB / 0.5029 GB, free: 14.05 MB / 382.1 MB (rm -f AES_AES.Devel_test_models.Test_air_circ_003.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_003.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_003.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_003.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_air_circ_003_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_air_circ_003.fmu > AES_AES.Devel_test_models.Test_air_circ_003.pipe 2>&1)