Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_004.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_004,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_004,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_004",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.0007775/0.0007775, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.0008118/0.0008118, allocations: 172.7 kB / 15.95 MB, free: 208 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.277/1.277, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1859/0.1859, allocations: 22.36 MB / 313.4 MB, free: 13.13 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002781/0.0002781, allocations: 15.98 kB / 382.1 MB, free: 10.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2364, allocations: 55.97 MB / 438 MB, free: 39.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.002257/0.2386, allocations: 3.047 MB / 441.1 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.2398, allocations: 1.057 MB / 442.1 MB, free: 36.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.2399, allocations: 6.844 kB / 442.1 MB, free: 36.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.298e-05/0.24, allocations: 47.7 kB / 442.2 MB, free: 36.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.2403, allocations: 158.4 kB / 442.3 MB, free: 36.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.2405, allocations: 141.2 kB / 442.5 MB, free: 36.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004322/0.241, allocations: 0.7466 MB / 443.2 MB, free: 35.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003287/0.2413, allocations: 285.2 kB / 443.5 MB, free: 35.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.2416, allocations: 258.5 kB / 443.8 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.2418, allocations: 295 kB / 444 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.514e-05/0.2419, allocations: 36.03 kB / 444.1 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.408e-05/0.242, allocations: 41.19 kB / 444.1 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.242, allocations: 105.6 kB / 444.2 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.403e-05/0.2421, allocations: 138.7 kB / 444.4 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.2425, allocations: 0.5488 MB / 444.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2425, allocations: 0 / 444.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2425, allocations: 0 / 444.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.2425, allocations: 0 / 444.9 MB, free: 35.16 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001145/0.2437, allocations: 0.7386 MB / 445.6 MB, free: 34.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.2437, allocations: 13.25 kB / 445.7 MB, free: 34.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.565e-05/0.2438, allocations: 106.3 kB / 445.8 MB, free: 34.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.918e-05/0.2439, allocations: 61.27 kB / 445.8 MB, free: 34.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.244, allocations: 226.1 kB / 446 MB, free: 34.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.244, allocations: 49.77 kB / 446.1 MB, free: 34.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.068e-05/0.2441, allocations: 63.34 kB / 446.2 MB, free: 34.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007853/0.2449, allocations: 0.5383 MB / 446.7 MB, free: 33.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.2449, allocations: 0 / 446.7 MB, free: 33.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/0.245, allocations: 33.75 kB / 446.7 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.245, allocations: 15.22 kB / 446.7 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007153/0.2457, allocations: 0.4922 MB / 447.2 MB, free: 33.79 MB / 350.1 MB Warning: Alias set with conflicting start values * Candidate: V1.T(start = V1.Tstart = 293.15, confidence number = 2) * Candidate: V1.air.T(start = 288.15, confidence number = 8) * Candidate: V1.heatPort.T(start = 288.15, confidence number = 8) * Candidate: HP.hotPort.T(start = 288.15, confidence number = 8) * Candidate: HP.Th(start = 288.15, confidence number = 7) => Select value from V1.T(start = V1.Tstart = 293.15) for variable: V1.T Warning: Alias set with conflicting start values * Candidate: V2.T(start = V2.Tstart = 293.15, confidence number = 2) * Candidate: V2.air.T(start = 288.15, confidence number = 8) * Candidate: V2.heatPort.T(start = 288.15, confidence number = 8) * Candidate: HP.coldPort.T(start = 288.15, confidence number = 8) * Candidate: HP.Tc(start = 288.15, confidence number = 7) => Select value from V2.T(start = V2.Tstart = 293.15) for variable: V2.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.2479, allocations: 2.351 MB / 449.6 MB, free: 31.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009792/0.2489, allocations: 0.5719 MB / 450.2 MB, free: 31.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003316/0.2492, allocations: 239.6 kB / 450.4 MB, free: 31.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.022e-05/0.2493, allocations: 10.12 kB / 450.4 MB, free: 31.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.2493, allocations: 45.09 kB / 450.4 MB, free: 31.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 1.853e-06/0.2493, allocations: 0 / 450.4 MB, free: 31.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.01065/0.26, allocations: 4.022 MB / 454.5 MB, free: 29.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.26, allocations: 63.19 kB / 454.5 MB, free: 29.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.2601, allocations: 140.2 kB / 454.7 MB, free: 29.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.2602, allocations: 40.77 kB / 454.7 MB, free: 29.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.2603, allocations: 219.4 kB / 454.9 MB, free: 29.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.2604, allocations: 305.5 kB / 455.2 MB, free: 29.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.2605, allocations: 14.72 kB / 455.2 MB, free: 29.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.879e-05/0.2605, allocations: 347.1 kB / 455.6 MB, free: 28.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004091/0.2609, allocations: 264.2 kB / 455.8 MB, free: 28.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000426/0.2614, allocations: 330.1 kB / 456.1 MB, free: 28.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004552/0.2618, allocations: 315 kB / 456.5 MB, free: 28.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2619, allocations: 0 / 456.5 MB, free: 28.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002687/0.2645, allocations: 1.096 MB / 457.6 MB, free: 27.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.2646, allocations: 5.469 kB / 457.6 MB, free: 27.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2646, allocations: 0 / 457.6 MB, free: 27.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001999/0.2666, allocations: 437.7 kB / 458 MB, free: 27.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002788/0.2694, allocations: 431 kB / 458.4 MB, free: 27.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008774/0.2782, allocations: 13.12 MB / 471.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005723/0.2788, allocations: 51.47 kB / 471.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.043e-05/0.2789, allocations: 23.81 kB / 471.6 MB, free: 14.88 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: V2.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))) start = V2.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real V2.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) start = V2.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real V1.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))) start = V1.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real V1.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) start = V1.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) 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 (75): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,77.8%) 4,(3,77.8%) 4,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003598/0.2792, allocations: 247.6 kB / 471.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.581e-05/0.2793, allocations: 37.12 kB / 471.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00334/0.2827, allocations: 1.276 MB / 473.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.2827, allocations: 8.438 kB / 473.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.2827, allocations: 3.344 kB / 473.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.2827, allocations: 4.453 kB / 473.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003924/0.2867, allocations: 2.008 MB / 475.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.2867, allocations: 1.281 kB / 475.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00251/0.2892, allocations: 380.4 kB / 475.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00399/0.2932, allocations: 0.7345 MB / 476.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.264e-05/0.2933, allocations: 25.97 kB / 476.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/0.304, allocations: 13.61 MB / 489.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3041, allocations: 1.984 kB / 489.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003791/0.3079, allocations: 1.707 MB / 491.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.308, allocations: 109.1 kB / 491.7 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.882e-05/0.3081, allocations: 17.58 kB / 491.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004662/0.3085, allocations: 45.62 kB / 491.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002457/0.3088, allocations: 84.91 kB / 491.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.693e-05/0.3089, allocations: 31 kB / 491.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.3e-05/0.309, allocations: 109.6 kB / 492 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.309, allocations: 1.344 kB / 492 MB, free: 14.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009998/0.31, allocations: 220.4 kB / 492.2 MB, free: 14.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (V1.Mv,V1.p,V1.T,V2.Ma,V2.p,V2.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 (63): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,77.8%) 4,(3,77.8%) 4,(1,100.0%) 2} * Non-linear torn systems: 3 {1 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004055/0.314, allocations: 2.263 MB / 494.5 MB, free: 13.39 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Air/MAvolume.mo:13:3-13:61:writable] Warning: Variable $DER.V2.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Air/MAvolume.mo:13:3-13:61:writable] Warning: Variable $DER.V1.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.004997/0.319, allocations: 1.852 MB / 496.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3191, allocations: 0 / 496.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004274/0.3233, allocations: 1.574 MB / 497.9 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006565/0.324, allocations: 99.06 kB / 498 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007336/0.3314, allocations: 3.713 MB / 0.49 GB, free: 9.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.3319, allocations: 0.8825 MB / 0.4908 GB, free: 8.555 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004329/0.3324, allocations: 59.27 kB / 0.4909 GB, free: 8.523 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/0.3327, allocations: 181.8 kB / 0.4911 GB, free: 8.387 MB / 366.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3327, allocations: 0 / 0.4911 GB, free: 8.387 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/0.3613, allocations: 14.09 MB / 0.5048 GB, free: 11.09 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/0.3615, allocations: 189.9 kB / 0.505 GB, free: 10.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.111/2.473, allocations: 0 / 0.505 GB, free: 10.85 MB / 382.1 MB (rm -f AES_AES.Devel_test_models.Test_air_circ_004.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_004.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_004.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_004.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_air_circ_004_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_air_circ_004.fmu > AES_AES.Devel_test_models.Test_air_circ_004.pipe 2>&1) Environment - environmentSimulation: