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.001353/0.001353, allocations: 104.3 kB / 19.72 MB, free: 1.914 MB / 14.72 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.001567/0.001567, allocations: 213.8 kB / 23.01 MB, free: 4.988 MB / 14.72 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 1.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.1068/0.1068, allocations: 24.03 MB / 337.2 MB, free: 11.36 MB / 270.1 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002419/0.002419, allocations: 67.91 kB / 473.8 MB, free: 6.387 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3259, allocations: 59.58 MB / 0.5209 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.003721/0.3297, allocations: 3.229 MB / 0.5241 GB, free: 7.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.3312, allocations: 1.073 MB / 0.5251 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.3314, allocations: 3.656 kB / 0.5251 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.3315, allocations: 70.02 kB / 0.5252 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.3319, allocations: 184.9 kB / 0.5254 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.3322, allocations: 213.6 kB / 0.5256 GB, free: 6.844 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000581/0.3327, allocations: 0.8228 MB / 0.5264 GB, free: 6.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003996/0.3331, allocations: 307.7 kB / 0.5267 GB, free: 6.277 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003272/0.3335, allocations: 314.2 kB / 0.527 GB, free: 6.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003413/0.3338, allocations: 288.5 kB / 0.5272 GB, free: 6.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.594e-05/0.3339, allocations: 72.31 kB / 0.5273 GB, free: 6.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.334, allocations: 72.91 kB / 0.5274 GB, free: 6.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.14e-05/0.3341, allocations: 150.2 kB / 0.5275 GB, free: 5.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002236/0.3343, allocations: 287.3 kB / 0.5278 GB, free: 5.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006356/0.335, allocations: 0.7509 MB / 0.5285 GB, free: 5.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.335, allocations: 7.938 kB / 0.5285 GB, free: 5.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.335, allocations: 0 / 0.5285 GB, free: 5.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.335, allocations: 0.75 kB / 0.5285 GB, free: 5.473 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001424/0.3364, allocations: 0.7675 MB / 0.5293 GB, free: 4.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.3365, allocations: 11.83 kB / 0.5293 GB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001027/0.3366, allocations: 109.4 kB / 0.5294 GB, free: 4.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.878e-05/0.3367, allocations: 62.34 kB / 0.5295 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.3368, allocations: 165 kB / 0.5296 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.98e-05/0.3369, allocations: 56.28 kB / 0.5297 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.316e-05/0.337, allocations: 71.09 kB / 0.5297 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009201/0.3379, allocations: 0.5391 MB / 0.5303 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.3379, allocations: 1.344 kB / 0.5303 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.847e-05/0.3379, allocations: 24.91 kB / 0.5303 GB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.338, allocations: 16.31 kB / 0.5303 GB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008498/0.3388, allocations: 498.8 kB / 0.5308 GB, free: 4.203 MB / 382.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.002521/0.3413, allocations: 1.402 MB / 0.5322 GB, free: 3.402 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.3425, allocations: 0.5403 MB / 0.5327 GB, free: 3.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003849/0.3429, allocations: 218.5 kB / 0.5329 GB, free: 3.074 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.887e-05/0.343, allocations: 12.14 kB / 0.5329 GB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.343, allocations: 39.25 kB / 0.5329 GB, free: 3.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=65): time 2.505e-06/0.343, allocations: 0 / 0.5329 GB, free: 3.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=87): time 0.01193/0.3549, allocations: 3.572 MB / 0.5364 GB, free: 1.688 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.355, allocations: 61.81 kB / 0.5365 GB, free: 1.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.3551, allocations: 138.7 kB / 0.5366 GB, free: 1.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.815e-05/0.3551, allocations: 41.17 kB / 0.5367 GB, free: 1.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.055e-05/0.3552, allocations: 231.7 kB / 0.5369 GB, free: 1.281 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.3554, allocations: 314.6 kB / 0.5372 GB, free: 1.031 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.3556, allocations: 112.3 kB / 0.5373 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.681e-05/0.3556, allocations: 350.1 kB / 0.5376 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004531/0.3561, allocations: 272.8 kB / 0.5379 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004909/0.3566, allocations: 331.1 kB / 0.5382 GB, free: 384 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01075/0.3673, allocations: 2.164 MB / 0.5403 GB, free: 15.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3673, allocations: 0 / 0.5403 GB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003111/0.3705, allocations: 1.081 MB / 0.5414 GB, free: 15.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3705, allocations: 5.344 kB / 0.5414 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3705, allocations: 1.906 kB / 0.5414 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002048/0.3725, allocations: 408.6 kB / 0.5418 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003115/0.3756, allocations: 431.6 kB / 0.5422 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01389/0.3895, allocations: 13.17 MB / 0.555 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005895/0.3901, allocations: 22.39 kB / 0.5551 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.587e-05/0.3902, allocations: 20.69 kB / 0.5551 GB, free: 2 MB / 398.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 = 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.0004028/0.3906, allocations: 211.7 kB / 0.5553 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.943e-05/0.3907, allocations: 37.02 kB / 0.5553 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003538/0.3942, allocations: 1.26 MB / 0.5565 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.3942, allocations: 8.812 kB / 0.5566 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.3942, allocations: 7.484 kB / 0.5566 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.3942, allocations: 3.984 kB / 0.5566 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004556/0.3988, allocations: 1.852 MB / 0.5584 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.3988, allocations: 1.5 kB / 0.5584 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002802/0.4016, allocations: 391.3 kB / 0.5588 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00405/0.4057, allocations: 0.6768 MB / 0.5594 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/0.4058, allocations: 21.55 kB / 0.5594 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01506/0.4208, allocations: 13.7 MB / 0.5728 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4208, allocations: 1.188 kB / 0.5728 GB, free: 1.984 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00427/0.4251, allocations: 1.689 MB / 0.5745 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.4252, allocations: 33.91 kB / 0.5745 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.955e-05/0.4253, allocations: 21.81 kB / 0.5745 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004373/0.4257, allocations: 18.84 kB / 0.5745 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002599/0.426, allocations: 97.56 kB / 0.5746 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.583e-05/0.4261, allocations: 23.44 kB / 0.5746 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.053e-05/0.4261, allocations: 110.9 kB / 0.5748 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4261, allocations: 1.375 kB / 0.5748 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009901/0.4271, allocations: 219.3 kB / 0.575 GB, free: 0.7109 MB / 414.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.004558/0.4317, allocations: 2.258 MB / 0.5772 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005296/0.437, allocations: 1.773 MB / 0.5789 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.437, allocations: 0 / 0.5789 GB, free: 13.35 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004614/0.4416, allocations: 1.529 MB / 0.5804 GB, free: 11.74 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006361/0.4422, allocations: 96.22 kB / 0.5805 GB, free: 11.65 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.4529, allocations: 5.378 MB / 0.5857 GB, free: 6.133 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.4532, allocations: 284.2 kB / 0.586 GB, free: 5.824 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003194/0.4535, allocations: 56.16 kB / 0.5861 GB, free: 5.766 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/0.4538, allocations: 179.4 kB / 0.5862 GB, free: 5.59 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4538, allocations: 0 / 0.5862 GB, free: 5.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09348/0.5473, allocations: 16.65 MB / 0.6025 GB, free: 5.164 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.19, allocations: 0 / 0.6025 GB, free: 5.164 MB / 446.1 MB " [Timeout remaining time 646] (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: 16.816449970938265] Failed to read output from testmodel.py, exit status != 0: 14.317901327740401 14.333602973 13.995538611 Calling exit ...