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.001428/0.001428, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2025/0.2025, allocations: 22.36 MB / 312.7 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 55.91 kB / 380.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2118, allocations: 54.94 MB / 435.9 MB, free: 39.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.003222/0.2151, allocations: 3.558 MB / 439.4 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.2162, allocations: 1.108 MB / 440.5 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.2163, allocations: 2.625 kB / 440.5 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.955e-05/0.2164, allocations: 66.31 kB / 440.6 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.2168, allocations: 192.2 kB / 440.8 MB, free: 36.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.217, allocations: 205.3 kB / 441 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004112/0.2174, allocations: 0.8165 MB / 441.8 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003249/0.2177, allocations: 363.3 kB / 442.2 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.218, allocations: 302.5 kB / 442.5 MB, free: 35.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.2182, allocations: 338.8 kB / 442.8 MB, free: 35.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.354e-05/0.2183, allocations: 71.66 kB / 442.9 MB, free: 35.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.352e-05/0.2184, allocations: 71.5 kB / 442.9 MB, free: 35.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.641e-05/0.2185, allocations: 149 kB / 443.1 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.2187, allocations: 332.8 kB / 443.4 MB, free: 34.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003802/0.2191, allocations: 0.7358 MB / 444.1 MB, free: 34.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2191, allocations: 0 / 444.1 MB, free: 34.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2191, allocations: 0 / 444.1 MB, free: 34.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.2191, allocations: 0 / 444.1 MB, free: 34.5 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.001204/0.2203, allocations: 0.8345 MB / 445 MB, free: 33.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.2204, allocations: 11.66 kB / 445 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.228e-05/0.2204, allocations: 107.8 kB / 445.1 MB, free: 33.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.879e-05/0.2205, allocations: 56.94 kB / 445.1 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.2206, allocations: 233.3 kB / 445.4 MB, free: 33.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.2207, allocations: 51.53 kB / 445.4 MB, free: 33.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.94e-05/0.2208, allocations: 68.25 kB / 445.5 MB, free: 33.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007222/0.2215, allocations: 0.547 MB / 446 MB, free: 33.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.2215, allocations: 0 / 446 MB, free: 33.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.496e-05/0.2216, allocations: 30.94 kB / 446.1 MB, free: 33.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.2216, allocations: 14.84 kB / 446.1 MB, free: 33.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006976/0.2223, allocations: 0.4933 MB / 446.6 MB, free: 33.06 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.002081/0.2244, allocations: 2.363 MB / 448.9 MB, free: 31.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009678/0.2253, allocations: 0.5829 MB / 449.5 MB, free: 31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003268/0.2257, allocations: 243.2 kB / 449.8 MB, free: 30.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.08e-05/0.2257, allocations: 14.45 kB / 449.8 MB, free: 30.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/0.2258, allocations: 41.91 kB / 449.8 MB, free: 30.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 1.824e-06/0.2258, allocations: 0 / 449.8 MB, free: 30.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.01051/0.2363, allocations: 3.932 MB / 453.7 MB, free: 29.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.2363, allocations: 66.34 kB / 453.8 MB, free: 28.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.96e-05/0.2364, allocations: 140.4 kB / 454 MB, free: 28.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.2364, allocations: 41.14 kB / 454 MB, free: 28.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.03e-05/0.2365, allocations: 221.9 kB / 454.2 MB, free: 28.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.2366, allocations: 300.4 kB / 454.5 MB, free: 28.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.2368, allocations: 119.7 kB / 454.6 MB, free: 28.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.691e-05/0.2369, allocations: 348 kB / 455 MB, free: 28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000423/0.2373, allocations: 274.7 kB / 455.2 MB, free: 27.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004512/0.2377, allocations: 331.2 kB / 455.5 MB, free: 27.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009896/0.2476, allocations: 2.181 MB / 457.7 MB, free: 27.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2477, allocations: 1.125 kB / 457.7 MB, free: 27.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00259/0.2503, allocations: 1.088 MB / 458.8 MB, free: 26.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2503, allocations: 8.844 kB / 458.8 MB, free: 26.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2503, allocations: 4 kB / 458.8 MB, free: 26.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001843/0.2521, allocations: 402.8 kB / 459.2 MB, free: 26.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002947/0.2551, allocations: 423.3 kB / 459.6 MB, free: 26.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0086/0.2637, allocations: 14.16 MB / 473.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004238/0.2642, allocations: 21 kB / 473.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.715e-05/0.2642, allocations: 19.8 kB / 473.8 MB, free: 12.59 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: V1.p:VARIABLE(min = 0.0 start = V1.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real V1.T:VARIABLE(min = 0.0 start = V1.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real V2.p:VARIABLE(min = 0.0 start = V2.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real V2.T:VARIABLE(min = 0.0 start = V2.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 (75): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 6 * 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): 3 systems {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): 5 systems {(2,5,100.0%), (2,5,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002637/0.2645, allocations: 212.6 kB / 474 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.14e-05/0.2646, allocations: 32.78 kB / 474.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003196/0.2678, allocations: 1.271 MB / 475.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.2678, allocations: 9.125 kB / 475.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2678, allocations: 2.188 kB / 475.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.2678, allocations: 5.969 kB / 475.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003677/0.2715, allocations: 2.003 MB / 477.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.2715, allocations: 1.688 kB / 477.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002673/0.2742, allocations: 376.8 kB / 477.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003754/0.278, allocations: 0.6977 MB / 478.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.178e-05/0.278, allocations: 21.62 kB / 478.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01027/0.2883, allocations: 14.68 MB / 493.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2883, allocations: 5.688 kB / 493.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00381/0.2922, allocations: 1.699 MB / 494.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.937e-05/0.2922, allocations: 109.5 kB / 494.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.212e-05/0.2923, allocations: 21.61 kB / 495 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004263/0.2928, allocations: 19.8 kB / 495 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/0.293, allocations: 89.25 kB / 495.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.165e-05/0.293, allocations: 23.66 kB / 495.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.402e-05/0.2931, allocations: 112.6 kB / 495.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2931, allocations: 0 / 495.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009178/0.2941, allocations: 216.2 kB / 495.4 MB, free: 11.4 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 (not torn): 3 * Torn equation systems: 6 * 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): 3 systems {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%), (2,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004066/0.2981, allocations: 2.263 MB / 497.7 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005189/0.3033, allocations: 1.835 MB / 499.5 MB, free: 8.984 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3034, allocations: 0 / 499.5 MB, free: 8.984 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004202/0.3076, allocations: 1.562 MB / 0.4893 GB, free: 8.047 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005709/0.3082, allocations: 104.2 kB / 0.4894 GB, free: 7.996 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009345/0.3175, allocations: 5.386 MB / 0.4947 GB, free: 3.469 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.3179, allocations: 0.8831 MB / 0.4956 GB, free: 2.613 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003468/0.3183, allocations: 56.16 kB / 0.4956 GB, free: 2.555 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.3185, allocations: 183.4 kB / 0.4958 GB, free: 2.375 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3185, allocations: 0 / 0.4958 GB, free: 2.375 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.206/2.524, allocations: 15.28 MB / 0.5107 GB, free: 3.246 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/14.11, allocations: 6.734 kB / 0.5107 GB, free: 3.242 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/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)