Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_002.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_002,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_002,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_002",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.006328/0.006332, allocations: 104.6 kB / 15.74 MB, free: 5.984 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.001356/0.001356, allocations: 197.5 kB / 16.67 MB, free: 5.91 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: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08977/0.08977, allocations: 22.32 MB / 312.9 MB, free: 8.875 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 71.91 kB / 436.6 MB, free: 12.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1229, allocations: 54.96 MB / 491.5 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_002): time 0.00533/0.1283, allocations: 4.028 MB / 495.5 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.1305, allocations: 1.262 MB / 496.8 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003954/0.131, allocations: 8 kB / 496.8 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002259/0.1312, allocations: 79.14 kB / 496.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007289/0.132, allocations: 222 kB / 497.1 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005534/0.1326, allocations: 287.5 kB / 497.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001191/0.1338, allocations: 1.091 MB / 498.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007428/0.1345, allocations: 0.4886 MB / 499 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006168/0.1352, allocations: 426.8 kB / 499.4 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006511/0.1358, allocations: 462.4 kB / 499.8 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000177/0.136, allocations: 96 kB / 499.9 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.1362, allocations: 100 kB / 0.4883 GB, free: 12.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.1364, allocations: 207.4 kB / 0.4885 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004506/0.1368, allocations: 442.2 kB / 0.4889 GB, free: 12.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008475/0.1377, allocations: 1.009 MB / 0.4899 GB, free: 11.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1377, allocations: 8 kB / 0.4899 GB, free: 11.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1377, allocations: 0 / 0.4899 GB, free: 11.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.922e-05/0.1377, allocations: 0 / 0.4899 GB, free: 11.01 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002221/0.14, allocations: 0.9992 MB / 0.4909 GB, free: 9.965 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.14, allocations: 8.031 kB / 0.4909 GB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001477/0.1402, allocations: 131.3 kB / 0.491 GB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.1403, allocations: 80.03 kB / 0.4911 GB, free: 9.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.1405, allocations: 235.5 kB / 0.4913 GB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.917e-05/0.1406, allocations: 66.38 kB / 0.4914 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.1407, allocations: 88.03 kB / 0.4915 GB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.1419, allocations: 0.7258 MB / 0.4922 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.1419, allocations: 3.984 kB / 0.4922 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.238e-05/0.142, allocations: 32 kB / 0.4922 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.142, allocations: 20 kB / 0.4922 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.1432, allocations: 0.7457 MB / 0.493 GB, free: 7.789 MB / 382.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.003428/0.1467, allocations: 2.225 MB / 0.4951 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.1488, allocations: 0.9947 MB / 0.4961 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005709/0.1494, allocations: 375.7 kB / 0.4965 GB, free: 4.094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.766e-05/0.1495, allocations: 20.97 kB / 0.4965 GB, free: 4.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1495, allocations: 43.56 kB / 0.4965 GB, free: 4.023 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003632/0.1499, allocations: 95.2 kB / 0.4966 GB, free: 3.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=105): time 4.778e-06/0.1499, allocations: 0 / 0.4966 GB, free: 3.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.2184/0.3683, allocations: 4.162 MB / 0.5007 GB, free: 21.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.3683, allocations: 68.22 kB / 0.5008 GB, free: 21.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.3685, allocations: 218.1 kB / 0.501 GB, free: 21.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001415/0.3687, allocations: 44.2 kB / 0.501 GB, free: 21.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.325e-05/0.3688, allocations: 224.3 kB / 0.5012 GB, free: 21.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/0.369, allocations: 389.3 kB / 0.5016 GB, free: 21.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.3692, allocations: 159 kB / 0.5017 GB, free: 21.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.923e-05/0.3693, allocations: 360.8 kB / 0.5021 GB, free: 20.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004894/0.3698, allocations: 325.1 kB / 0.5024 GB, free: 20.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005239/0.3703, allocations: 398.5 kB / 0.5028 GB, free: 20.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01447/0.3848, allocations: 2.846 MB / 0.5056 GB, free: 20.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3848, allocations: 0 / 0.5056 GB, free: 20.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004883/0.3897, allocations: 1.495 MB / 0.507 GB, free: 20.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.3898, allocations: 9.344 kB / 0.507 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.3898, allocations: 0 / 0.507 GB, free: 20.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004538/0.3943, allocations: 0.762 MB / 0.5078 GB, free: 20.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005832/0.4002, allocations: 0.7255 MB / 0.5085 GB, free: 20.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01468/0.4149, allocations: 16.04 MB / 0.5241 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007132/0.4156, allocations: 34.66 kB / 0.5242 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.96e-05/0.4157, allocations: 32.98 kB / 0.5242 GB, free: 7.453 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: V.p:VARIABLE(min = 0.0 start = V.pstart unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real V.T:VARIABLE(min = 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 (94): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 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 {(2,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003276/0.4161, allocations: 215.1 kB / 0.5244 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.4162, allocations: 54.41 kB / 0.5245 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004304/0.4205, allocations: 1.657 MB / 0.5261 GB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.4205, allocations: 15.22 kB / 0.5261 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4205, allocations: 4.297 kB / 0.5261 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.4205, allocations: 5.25 kB / 0.5261 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005428/0.426, allocations: 2.977 MB / 0.529 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.426, allocations: 10.19 kB / 0.529 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004909/0.4309, allocations: 0.6711 MB / 0.5297 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002794/0.4337, allocations: 0.5964 MB / 0.5303 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.4339, allocations: 36.55 kB / 0.5303 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01516/0.449, allocations: 15.73 MB / 0.5457 GB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.34e-05/0.4491, allocations: 17.09 kB / 0.5457 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005161/0.4542, allocations: 2.269 MB / 0.5479 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.4545, allocations: 132.9 kB / 0.548 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/0.4546, allocations: 39.95 kB / 0.5481 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007374/0.4554, allocations: 36.67 kB / 0.5481 GB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003371/0.4557, allocations: 137.8 kB / 0.5482 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.464e-05/0.4558, allocations: 37.23 kB / 0.5483 GB, free: 4.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.456, allocations: 175.7 kB / 0.5484 GB, free: 4.621 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.456, allocations: 0 / 0.5484 GB, free: 4.621 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00154/0.4576, allocations: 275 kB / 0.5487 GB, free: 4.582 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 3 (V.Ma,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 (87): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 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): 1 system {(2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(7,19), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005607/0.4632, allocations: 2.844 MB / 0.5515 GB, free: 2.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008274/0.4715, allocations: 2.014 MB / 0.5534 GB, free: 1.441 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.521e-05/0.4716, allocations: 0 / 0.5534 GB, free: 1.441 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006598/0.4782, allocations: 1.642 MB / 0.555 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.4796, allocations: 198.5 kB / 0.5552 GB, free: 432 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01621/0.4959, allocations: 7.186 MB / 0.5622 GB, free: 8.953 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005951/0.4965, allocations: 0.9288 MB / 0.5632 GB, free: 7.992 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005402/0.4971, allocations: 93.19 kB / 0.5632 GB, free: 7.902 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003823/0.4975, allocations: 223.3 kB / 0.5635 GB, free: 7.684 MB / 414.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4975, allocations: 0 / 0.5635 GB, free: 7.684 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05469/0.5522, allocations: 22.18 MB / 0.5851 GB, free: 1.703 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.77, allocations: 15.36 kB / 0.5851 GB, free: 1.691 MB / 430.1 MB (rm -f AES_AES.Devel_test_models.Test_air_circ_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_002.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_002.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_air_circ_002_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_air_circ_002.fmu > AES_AES.Devel_test_models.Test_air_circ_002.pipe 2>&1)