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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000795/0.000795, allocations: 72.52 kB / 19.95 MB, free: 4.613 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008126/0.0008126, allocations: 169.2 kB / 23.23 MB, free: 1.332 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8801/0.8801, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.06073/0.06073, allocations: 18.13 MB / 278.1 MB, free: 11.55 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 415.1 MB, free: 12.67 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.445e-05, allocations: 2.281 kB / 415.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.003522/0.003547, allocations: 3.232 MB / 418.3 MB, free: 10.56 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001895/0.005442, allocations: 1.082 MB / 419.4 MB, free: 9.793 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.005628, allocations: 3.562 kB / 419.4 MB, free: 9.793 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.005734, allocations: 68.92 kB / 419.5 MB, free: 9.754 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003811/0.006115, allocations: 196.6 kB / 419.7 MB, free: 9.609 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.006439, allocations: 215 kB / 419.9 MB, free: 9.477 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005889/0.007027, allocations: 0.8554 MB / 420.7 MB, free: 9.023 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004271/0.007455, allocations: 308 kB / 421 MB, free: 8.883 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003775/0.007832, allocations: 294.5 kB / 421.3 MB, free: 8.762 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.00812, allocations: 256.8 kB / 421.6 MB, free: 8.676 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.798e-05/0.008208, allocations: 72.16 kB / 421.6 MB, free: 8.676 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.809e-05/0.008296, allocations: 72.5 kB / 421.7 MB, free: 8.676 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.313e-05/0.008369, allocations: 154.4 kB / 421.8 MB, free: 8.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.008556, allocations: 248 kB / 422.1 MB, free: 8.465 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006267/0.009183, allocations: 0.7738 MB / 422.9 MB, free: 8.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.009188, allocations: 1.281 kB / 422.9 MB, free: 8.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.009189, allocations: 4 kB / 422.9 MB, free: 8.156 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.009204, allocations: 3.938 kB / 422.9 MB, free: 8.152 MB / 330.7 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.001086/0.01029, allocations: 0.7629 MB / 423.6 MB, free: 7.641 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.01033, allocations: 10.81 kB / 423.6 MB, free: 7.641 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.498e-05/0.01042, allocations: 109.7 kB / 423.8 MB, free: 7.559 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.788e-05/0.01049, allocations: 61.94 kB / 423.8 MB, free: 7.527 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.01062, allocations: 170.9 kB / 424 MB, free: 7.355 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/0.01065, allocations: 51.25 kB / 424 MB, free: 7.332 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.797e-05/0.01072, allocations: 71.08 kB / 424.1 MB, free: 7.305 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006499/0.01137, allocations: 0.5493 MB / 424.6 MB, free: 7.066 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.01138, allocations: 0 / 424.6 MB, free: 7.066 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.01142, allocations: 25.56 kB / 424.7 MB, free: 7.047 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.01143, allocations: 15.06 kB / 424.7 MB, free: 7.047 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005991/0.01203, allocations: 0.489 MB / 425.2 MB, free: 6.879 MB / 330.7 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.001808/0.01384, allocations: 1.384 MB / 426.6 MB, free: 6.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007938/0.01463, allocations: 0.5415 MB / 427.1 MB, free: 5.859 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.01489, allocations: 218.2 kB / 427.3 MB, free: 5.766 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.954e-05/0.01493, allocations: 12.81 kB / 427.3 MB, free: 5.758 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.01494, allocations: 38.73 kB / 427.4 MB, free: 5.715 MB / 330.7 MB Notification: Performance of pre-optimization done (n=65): time 1.733e-06/0.01495, allocations: 0 / 427.4 MB, free: 5.715 MB / 330.7 MB Notification: Performance of matching and sorting (n=87): time 0.006482/0.02143, allocations: 3.572 MB / 430.9 MB, free: 4.375 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.522e-05/0.02145, allocations: 65.94 kB / 431 MB, free: 4.309 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.319e-05/0.02154, allocations: 139.4 kB / 431.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.02157, allocations: 40.67 kB / 431.2 MB, free: 4.156 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.005e-05/0.02165, allocations: 230.7 kB / 431.4 MB, free: 3.965 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.02179, allocations: 315.3 kB / 431.7 MB, free: 3.711 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.02192, allocations: 111.9 kB / 431.8 MB, free: 3.652 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.717e-05/0.02197, allocations: 345.7 kB / 432.2 MB, free: 3.324 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003233/0.02229, allocations: 271.2 kB / 432.4 MB, free: 3.211 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/0.02264, allocations: 329.6 kB / 432.7 MB, free: 3.066 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004991/0.02763, allocations: 2.169 MB / 434.9 MB, free: 2.277 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.02763, allocations: 0 / 434.9 MB, free: 2.277 MB / 330.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001511/0.02914, allocations: 1.087 MB / 436 MB, free: 1.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.02916, allocations: 10.97 kB / 436 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.02916, allocations: 1.062 kB / 436 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009224/0.03009, allocations: 407.4 kB / 436.4 MB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.03142, allocations: 424.1 kB / 436.8 MB, free: 1.309 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006918/0.03833, allocations: 13.17 MB / 450 MB, free: 4.309 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.03855, allocations: 22.98 kB / 450 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.03858, allocations: 19.31 kB / 450 MB, free: 4.289 MB / 346.7 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 = 1e5 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 = 1e5 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.0002501/0.03883, allocations: 209.1 kB / 450.2 MB, free: 4.109 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.03888, allocations: 36.64 kB / 450.3 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/0.04072, allocations: 1.25 MB / 451.5 MB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.04073, allocations: 12 kB / 451.5 MB, free: 2.957 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.04073, allocations: 7.938 kB / 451.5 MB, free: 2.949 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.04074, allocations: 3.984 kB / 451.5 MB, free: 2.945 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/0.04303, allocations: 1.861 MB / 453.4 MB, free: 1.008 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.04303, allocations: 0 / 453.4 MB, free: 1.008 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/0.04423, allocations: 391.6 kB / 453.8 MB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001759/0.04598, allocations: 0.68 MB / 454.5 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/0.04603, allocations: 27.98 kB / 454.5 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007418/0.05345, allocations: 13.67 MB / 468.2 MB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.05345, allocations: 4.031 kB / 468.2 MB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/0.0557, allocations: 1.683 MB / 469.9 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.575e-05/0.05574, allocations: 39.75 kB / 469.9 MB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.05578, allocations: 16.06 kB / 469.9 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.05598, allocations: 20 kB / 469.9 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/0.05617, allocations: 88.77 kB / 470 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.0562, allocations: 27.98 kB / 470 MB, free: 15.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.103e-05/0.05625, allocations: 109.3 kB / 470.1 MB, free: 15.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05625, allocations: 0 / 470.1 MB, free: 15.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007012/0.05696, allocations: 223.9 kB / 470.4 MB, free: 14.95 MB / 378.7 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.002409/0.05936, allocations: 2.248 MB / 472.6 MB, free: 12.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00249/0.06185, allocations: 1.77 MB / 474.4 MB, free: 10.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.06186, allocations: 3.938 kB / 474.4 MB, free: 10.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001966/0.06382, allocations: 1.525 MB / 475.9 MB, free: 9.184 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.06421, allocations: 92.55 kB / 476 MB, free: 9.094 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005796/0.07, allocations: 5.315 MB / 481.3 MB, free: 3.637 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.0702, allocations: 276.3 kB / 481.6 MB, free: 3.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001877/0.07039, allocations: 56.17 kB / 481.6 MB, free: 3.285 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.07058, allocations: 184.4 kB / 481.8 MB, free: 3.105 MB / 378.7 MB Notification: Performance of SimCode: time 5e-07/0.07058, allocations: 0 / 481.8 MB, free: 3.105 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03454/0.1051, allocations: 16.81 MB / 498.6 MB, free: 2.516 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.395/8.5, allocations: 6.734 kB / 498.6 MB, free: 2.512 MB / 394.7 MB " [Timeout remaining time 651] (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 --stepSize=0.02 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.357342294417322] Failed to read output from testmodel.py, exit status != 0: 8.601342435926199 8.612313897 8.601115835 Calling exit ...