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.005412/0.005412, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.001071/0.001071, allocations: 187.5 kB / 16.67 MB, free: 5.965 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1886/0.1886, allocations: 22.34 MB / 312.9 MB, free: 12.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001329, allocations: 66.95 kB / 436.6 MB, free: 34.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08449/0.08583, allocations: 54.96 MB / 491.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_003): time 0.003905/0.08977, allocations: 3.512 MB / 495.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.09163, allocations: 1.103 MB / 496.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002737/0.09193, allocations: 4 kB / 496.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.0921, allocations: 63.3 kB / 496.2 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005238/0.09265, allocations: 178.4 kB / 496.4 MB, free: 12.81 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.09305, allocations: 219.6 kB / 496.6 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00081/0.09387, allocations: 0.8416 MB / 497.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005947/0.09448, allocations: 451.8 kB / 497.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004776/0.09497, allocations: 355.1 kB / 498.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005196/0.0955, allocations: 394.7 kB / 498.6 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.09565, allocations: 84 kB / 498.7 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.0958, allocations: 80 kB / 498.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.09595, allocations: 171.5 kB / 499 MB, free: 10.24 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000363/0.09632, allocations: 354.6 kB / 499.3 MB, free: 9.895 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006897/0.09702, allocations: 0.8225 MB / 0.4884 GB, free: 9.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.005e-05/0.09705, allocations: 0 / 0.4884 GB, free: 9.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.09705, allocations: 7.875 kB / 0.4884 GB, free: 9.062 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.645e-05/0.09708, allocations: 0 / 0.4884 GB, free: 9.062 MB / 366.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.001866/0.09895, allocations: 0.8739 MB / 0.4893 GB, free: 8.137 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.099, allocations: 8.031 kB / 0.4893 GB, free: 8.129 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001186/0.09913, allocations: 110.7 kB / 0.4894 GB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.09925, allocations: 60.27 kB / 0.4894 GB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.09945, allocations: 225.8 kB / 0.4897 GB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.821e-05/0.0995, allocations: 49.69 kB / 0.4897 GB, free: 7.648 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-05/0.0996, allocations: 64.12 kB / 0.4898 GB, free: 7.586 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.1006, allocations: 0.5999 MB / 0.4903 GB, free: 6.977 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1007, allocations: 0 / 0.4903 GB, free: 6.977 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.119e-05/0.1007, allocations: 28 kB / 0.4904 GB, free: 6.949 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.1008, allocations: 12 kB / 0.4904 GB, free: 6.938 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.1018, allocations: 0.6102 MB / 0.491 GB, free: 6.328 MB / 366.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.003284/0.1051, allocations: 1.937 MB / 0.4929 GB, free: 4.289 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.1065, allocations: 0.6861 MB / 0.4935 GB, free: 3.594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005044/0.107, allocations: 318.6 kB / 0.4938 GB, free: 3.281 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.146e-05/0.1071, allocations: 17.41 kB / 0.4939 GB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.1071, allocations: 39.22 kB / 0.4939 GB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000453/0.1076, allocations: 107.4 kB / 0.494 GB, free: 3.113 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 3.317e-06/0.1076, allocations: 0 / 0.494 GB, free: 3.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=90): time 0.00782/0.1154, allocations: 2.916 MB / 0.4969 GB, free: 96 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.1155, allocations: 60.41 kB / 0.4969 GB, free: 24 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.1157, allocations: 203 kB / 0.4971 GB, free: 15.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.594e-05/0.1157, allocations: 41.64 kB / 0.4971 GB, free: 15.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.1159, allocations: 196.9 kB / 0.4973 GB, free: 15.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/0.1161, allocations: 303.4 kB / 0.4976 GB, free: 15.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.1163, allocations: 138.6 kB / 0.4978 GB, free: 15.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1164, allocations: 350.7 kB / 0.4981 GB, free: 14.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004627/0.1169, allocations: 273.9 kB / 0.4983 GB, free: 14.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005034/0.1174, allocations: 340.6 kB / 0.4987 GB, free: 14.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01565/0.1331, allocations: 2.821 MB / 0.5014 GB, free: 11.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1331, allocations: 0 / 0.5014 GB, free: 11.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002225/0.1353, allocations: 0.9446 MB / 0.5024 GB, free: 10.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.1354, allocations: 4 kB / 0.5024 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1354, allocations: 4 kB / 0.5024 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.1364, allocations: 182.3 kB / 0.5025 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004171/0.1406, allocations: 0.5423 MB / 0.5031 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008498/0.1491, allocations: 10.62 MB / 0.5134 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005316/0.1496, allocations: 20.03 kB / 0.5134 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.515e-05/0.1497, allocations: 27.97 kB / 0.5135 GB, free: 13.98 MB / 398.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 (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 {(2,5,100.0%), (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.0003431/0.1501, allocations: 196.8 kB / 0.5137 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.924e-05/0.1502, allocations: 39.53 kB / 0.5137 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002551/0.1527, allocations: 1.174 MB / 0.5148 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.1528, allocations: 12 kB / 0.5149 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1528, allocations: 4 kB / 0.5149 GB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.1528, allocations: 3.984 kB / 0.5149 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003649/0.1564, allocations: 2.144 MB / 0.517 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.1565, allocations: 4 kB / 0.517 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003693/0.1602, allocations: 0.5034 MB / 0.5175 GB, free: 9.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001945/0.1621, allocations: 338.1 kB / 0.5178 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.921e-05/0.1622, allocations: 28 kB / 0.5178 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009021/0.1712, allocations: 10.86 MB / 0.5284 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.1713, allocations: 11.94 kB / 0.5284 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002912/0.1742, allocations: 1.671 MB / 0.5301 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.1743, allocations: 132.8 kB / 0.5302 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.518e-05/0.1744, allocations: 27.92 kB / 0.5302 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000556/0.175, allocations: 24 kB / 0.5302 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/0.1752, allocations: 104.3 kB / 0.5303 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.327e-05/0.1752, allocations: 31.98 kB / 0.5304 GB, free: 11.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.1754, allocations: 151.2 kB / 0.5305 GB, free: 11.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1754, allocations: 0 / 0.5305 GB, free: 11.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008356/0.1762, allocations: 192 kB / 0.5307 GB, free: 11.05 MB / 414.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 {(2,5,100.0%), (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.003221/0.1795, allocations: 2.249 MB / 0.5329 GB, free: 8.688 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005059/0.1845, allocations: 1.517 MB / 0.5344 GB, free: 7.133 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.1845, allocations: 0 / 0.5344 GB, free: 7.133 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00414/0.1887, allocations: 1.2 MB / 0.5355 GB, free: 5.895 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008643/0.1896, allocations: 156.5 kB / 0.5357 GB, free: 5.742 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008101/0.1977, allocations: 5.42 MB / 0.541 GB, free: 68 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.1981, allocations: 0.8687 MB / 0.5418 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003947/0.1985, allocations: 84.56 kB / 0.5419 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003235/0.1989, allocations: 187.3 kB / 0.5421 GB, free: 14.9 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1989, allocations: 0 / 0.5421 GB, free: 14.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05686/0.2557, allocations: 15.76 MB / 0.5575 GB, free: 15.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.23, allocations: 9.188 kB / 0.5575 GB, free: 15.3 MB / 446.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)