Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_001.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.001255/0.001255, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001408/0.001408, allocations: 217.6 kB / 23.03 MB, free: 4.922 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.1067/0.1067, allocations: 22.94 MB / 336.2 MB, free: 12.43 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_header_001,fileNamePrefix="AES_AES_Devel_test_models_Test_header_001",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_header_001,fileNamePrefix="AES_AES_Devel_test_models_Test_header_001",fmuType="cs",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.00202/0.00202, allocations: 75.89 kB / 472.2 MB, free: 7.887 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3459, allocations: 59.28 MB / 0.519 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_001): time 0.00309/0.349, allocations: 1.99 MB / 0.521 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003772/0.3494, allocations: 177.7 kB / 0.5211 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.3495, allocations: 6.719 kB / 0.5211 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.467e-05/0.3496, allocations: 21.73 kB / 0.5212 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.3497, allocations: 75.45 kB / 0.5212 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.3499, allocations: 44.55 kB / 0.5213 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.3501, allocations: 213.7 kB / 0.5215 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002338/0.3504, allocations: 92.8 kB / 0.5216 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.3505, allocations: 85.02 kB / 0.5216 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.3507, allocations: 82.78 kB / 0.5217 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.3507, allocations: 15.34 kB / 0.5217 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.623e-05/0.3507, allocations: 15.16 kB / 0.5217 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.012e-05/0.3508, allocations: 36.56 kB / 0.5218 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.941e-05/0.3509, allocations: 74.69 kB / 0.5219 GB, free: 8.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.3511, allocations: 205.7 kB / 0.5221 GB, free: 8.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3511, allocations: 7.938 kB / 0.5221 GB, free: 8.746 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3511, allocations: 0 / 0.5221 GB, free: 8.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.3511, allocations: 1.062 kB / 0.5221 GB, free: 8.746 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0005871/0.3517, allocations: 401.4 kB / 0.5224 GB, free: 8.391 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3518, allocations: 14.8 kB / 0.5225 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.239e-05/0.3518, allocations: 3.062 kB / 0.5225 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.961e-05/0.3518, allocations: 47.09 kB / 0.5225 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.3519, allocations: 22.83 kB / 0.5225 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000255/0.3521, allocations: 181.2 kB / 0.5227 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.3521, allocations: 15.59 kB / 0.5227 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.3522, allocations: 16.78 kB / 0.5227 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.3524, allocations: 130.7 kB / 0.5229 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3524, allocations: 0 / 0.5229 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.3525, allocations: 5.344 kB / 0.5229 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3525, allocations: 3.375 kB / 0.5229 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.3526, allocations: 74.67 kB / 0.5229 GB, free: 8.043 MB / 382.1 MB Warning: Alias set with conflicting start values * Candidate: header.T(start = header.Tstart = 293.15, confidence number = 2) * Candidate: header.heatPort.T(start = 288.15, confidence number = 8) => Select value from header.T(start = header.Tstart = 293.15) for variable: header.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007871/0.3534, allocations: 452.9 kB / 0.5234 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.3535, allocations: 47.8 kB / 0.5234 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.236e-05/0.3536, allocations: 23.77 kB / 0.5234 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.3536, allocations: 0 / 0.5234 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.396e-05/0.3536, allocations: 36.5 kB / 0.5235 GB, free: 7.602 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.3536, allocations: 1.469 kB / 0.5235 GB, free: 7.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002418/0.3539, allocations: 84.53 kB / 0.5236 GB, free: 7.547 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.3539, allocations: 52.56 kB / 0.5236 GB, free: 7.484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.3541, allocations: 227.3 kB / 0.5238 GB, free: 7.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.3541, allocations: 29.64 kB / 0.5238 GB, free: 7.309 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.3542, allocations: 158.6 kB / 0.524 GB, free: 7.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.3542, allocations: 16.3 kB / 0.524 GB, free: 7.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/0.3542, allocations: 25.41 kB / 0.524 GB, free: 7.133 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.848e-05/0.3543, allocations: 325 kB / 0.5243 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.275e-05/0.3544, allocations: 19.28 kB / 0.5244 GB, free: 6.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.215e-05/0.3544, allocations: 49.34 kB / 0.5244 GB, free: 6.766 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.3547, allocations: 97.28 kB / 0.5245 GB, free: 6.699 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3547, allocations: 5.031 kB / 0.5245 GB, free: 6.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001906/0.3549, allocations: 113.8 kB / 0.5246 GB, free: 6.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3549, allocations: 6.047 kB / 0.5246 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3549, allocations: 1.094 kB / 0.5246 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.3549, allocations: 1.094 kB / 0.5246 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.3552, allocations: 42.5 kB / 0.5247 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.3552, allocations: 1.094 kB / 0.5247 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.756e-05/0.3553, allocations: 20.84 kB / 0.5247 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.3553, allocations: 7.906 kB / 0.5247 GB, free: 6.605 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = 0.0 start = header.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"fluid T\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.3554, allocations: 126.7 kB / 0.5248 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.3555, allocations: 15.77 kB / 0.5248 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.3555, allocations: 17.03 kB / 0.5248 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.3555, allocations: 0.7031 kB / 0.5248 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3555, allocations: 1.062 kB / 0.5249 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.3555, allocations: 4.594 kB / 0.5249 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004746/0.356, allocations: 370 kB / 0.5252 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.356, allocations: 1.906 kB / 0.5252 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.314e-05/0.3561, allocations: 15.03 kB / 0.5252 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.3561, allocations: 5.953 kB / 0.5252 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.3561, allocations: 1.094 kB / 0.5252 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.3561, allocations: 2.062 kB / 0.5252 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3561, allocations: 0 / 0.5252 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.3563, allocations: 195.9 kB / 0.5254 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.3563, allocations: 26.55 kB / 0.5254 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.3564, allocations: 5.688 kB / 0.5255 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.3565, allocations: 5.734 kB / 0.5255 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.634e-05/0.3565, allocations: 7.547 kB / 0.5255 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.3565, allocations: 2.797 kB / 0.5255 GB, free: 5.922 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001294/0.3566, allocations: 163.3 kB / 0.5256 GB, free: 5.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3566, allocations: 3.938 kB / 0.5256 GB, free: 5.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.3569, allocations: 36.16 kB / 0.5257 GB, free: 5.812 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (header.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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003336/0.3572, allocations: 0.7268 MB / 0.5264 GB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001466/0.3574, allocations: 56.77 kB / 0.5264 GB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3574, allocations: 0 / 0.5264 GB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.925e-05/0.3574, allocations: 14.88 kB / 0.5264 GB, free: 5.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.3577, allocations: 28.48 kB / 0.5265 GB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.3598, allocations: 1.999 MB / 0.5284 GB, free: 3.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.133e-05/0.3599, allocations: 109 kB / 0.5285 GB, free: 3.426 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.512e-05/0.3599, allocations: 22.48 kB / 0.5285 GB, free: 3.418 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.58e-05/0.36, allocations: 51.53 kB / 0.5286 GB, free: 3.379 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.36, allocations: 0 / 0.5286 GB, free: 3.379 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.3842, allocations: 3.775 MB / 0.5323 GB, free: 2.762 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.65, allocations: 2.969 kB / 0.5323 GB, free: 2.762 MB / 382.1 MB " [Timeout remaining time 648] (rm -f AES_AES.Devel_test_models.Test_header_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_001.pipe >> ../files/AES_AES.Devel_test_models.Test_header_001.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_header_001_fmu --startTime=0 --stopTime=86400 --stepSize=8.64 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_header_001.fmu > AES_AES.Devel_test_models.Test_header_001.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.603198978002183] Failed to read output from testmodel.py, exit status != 0: 11.813708940055221 11.835244113 11.479908225 Calling exit ...