Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_digital_PI_awfb_full.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.001381/0.001381, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001568/0.001568, allocations: 210.4 kB / 23.01 MB, free: 4.992 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1073/0.1073, allocations: 24.04 MB / 337.2 MB, free: 11.31 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_digital_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_digital_PI_awfb_full",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_digital_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_digital_PI_awfb_full",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.002098/0.002098, allocations: 67.91 kB / 471.5 MB, free: 8.707 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3486, allocations: 59.57 MB / 0.5186 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.003309/0.3519, allocations: 1.734 MB / 0.5203 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000635/0.3526, allocations: 231.1 kB / 0.5205 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.3527, allocations: 1.156 kB / 0.5205 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.3528, allocations: 20.59 kB / 0.5205 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.353, allocations: 34.25 kB / 0.5206 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.3532, allocations: 58.25 kB / 0.5206 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.3535, allocations: 168.6 kB / 0.5208 GB, free: 7.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.3537, allocations: 57.42 kB / 0.5209 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.513e-05/0.3538, allocations: 62.88 kB / 0.5209 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.3539, allocations: 70.08 kB / 0.521 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.3539, allocations: 14.88 kB / 0.521 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.757e-05/0.354, allocations: 14.75 kB / 0.521 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.534e-05/0.354, allocations: 28.5 kB / 0.521 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.763e-05/0.3541, allocations: 62.52 kB / 0.5211 GB, free: 7.406 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.3543, allocations: 144.5 kB / 0.5212 GB, free: 7.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3543, allocations: 0 / 0.5212 GB, free: 7.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3543, allocations: 0.8125 kB / 0.5212 GB, free: 7.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.3543, allocations: 0 / 0.5212 GB, free: 7.34 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006008/0.3549, allocations: 430.6 kB / 0.5216 GB, free: 6.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.355, allocations: 11.14 kB / 0.5217 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.54e-05/0.355, allocations: 49.23 kB / 0.5217 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.189e-05/0.3551, allocations: 19.94 kB / 0.5217 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.3554, allocations: 153.1 kB / 0.5219 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.3554, allocations: 16.09 kB / 0.5219 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.3555, allocations: 18.53 kB / 0.5219 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004047/0.3559, allocations: 190.5 kB / 0.5221 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3559, allocations: 3.938 kB / 0.5221 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.3559, allocations: 7.156 kB / 0.5221 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.3559, allocations: 3.25 kB / 0.5221 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003532/0.3562, allocations: 145.6 kB / 0.5222 GB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007498/0.357, allocations: 411.3 kB / 0.5226 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.3573, allocations: 127.2 kB / 0.5227 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.3575, allocations: 108.2 kB / 0.5228 GB, free: 6.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.3575, allocations: 13.47 kB / 0.5229 GB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000333/0.3578, allocations: 191.8 kB / 0.523 GB, free: 5.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/0.3578, allocations: 0 / 0.523 GB, free: 5.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0009788/0.3588, allocations: 459.7 kB / 0.5235 GB, free: 5.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.3589, allocations: 126.6 kB / 0.5236 GB, free: 5.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.359, allocations: 140.2 kB / 0.5237 GB, free: 5.406 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.359, allocations: 34.44 kB / 0.5238 GB, free: 5.371 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/0.3591, allocations: 112.8 kB / 0.5239 GB, free: 5.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.467e-05/0.3592, allocations: 59.22 kB / 0.5239 GB, free: 5.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.187e-05/0.3592, allocations: 49.67 kB / 0.524 GB, free: 5.195 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.146e-05/0.3593, allocations: 326.1 kB / 0.5243 GB, free: 4.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.3595, allocations: 117.1 kB / 0.5244 GB, free: 4.793 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.3598, allocations: 184 kB / 0.5246 GB, free: 4.629 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.3601, allocations: 271.1 kB / 0.5248 GB, free: 4.406 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3601, allocations: 5 kB / 0.5248 GB, free: 4.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005891/0.3607, allocations: 378.7 kB / 0.5252 GB, free: 4.168 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.49e-05/0.3608, allocations: 73.66 kB / 0.5253 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3608, allocations: 2.656 kB / 0.5253 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.3608, allocations: 6.781 kB / 0.5253 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.361, allocations: 32.55 kB / 0.5253 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.361, allocations: 3.453 kB / 0.5253 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.3612, allocations: 32.06 kB / 0.5253 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.3612, allocations: 13.28 kB / 0.5254 GB, free: 4.07 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition1,C.u,$PRE.C.u,C.ulino,$PRE.C.ulino,C.ulin,$PRE.C.ulin,C.xfb,$PRE.C.xfb,C.fBias,$PRE.C.fBias,C.iBiaso,$PRE.C.iBiaso,C.xBias,$PRE.C.xBias,C.LOsat,$PRE.C.LOsat,C.HIsat,$PRE.C.HIsat,ts.y,C.noInc,C.noDec) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * 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.0001144/0.3613, allocations: 183.3 kB / 0.5255 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.3613, allocations: 20.33 kB / 0.5256 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000735/0.362, allocations: 412.8 kB / 0.5259 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.3621, allocations: 2.875 kB / 0.526 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3621, allocations: 0 / 0.526 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3621, allocations: 0.75 kB / 0.526 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.3622, allocations: 194 kB / 0.5261 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3622, allocations: 1.188 kB / 0.5261 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.3624, allocations: 20.84 kB / 0.5262 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3624, allocations: 5.5 kB / 0.5262 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.3624, allocations: 8.75 kB / 0.5262 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.3624, allocations: 2.234 kB / 0.5262 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3624, allocations: 0 / 0.5262 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009456/0.3634, allocations: 0.5527 MB / 0.5267 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.379e-05/0.3634, allocations: 21.33 kB / 0.5267 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.3634, allocations: 12.69 kB / 0.5267 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.3636, allocations: 19.84 kB / 0.5268 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.827e-05/0.3637, allocations: 22.72 kB / 0.5268 GB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.3637, allocations: 9.641 kB / 0.5268 GB, free: 3.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.779e-05/0.3638, allocations: 98.42 kB / 0.5269 GB, free: 3.055 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3638, allocations: 0 / 0.5269 GB, free: 3.055 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.364, allocations: 46.73 kB / 0.5269 GB, free: 3.043 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P.y) * Number of discrete variables: 13 ($whenCondition1,C.noInc,C.noDec,C.HIsat,C.LOsat,C.xBias,C.iBiaso,C.fBias,C.xfb,C.ulin,C.ulino,C.u,ts.y) * Number of discrete states: 10 (C.LOsat,C.HIsat,C.u,C.ulino,C.ulin,C.xfb,C.iBiaso,C.fBias,C.xBias,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.001261/0.3653, allocations: 1.103 MB / 0.528 GB, free: 2.188 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006367/0.3659, allocations: 400.5 kB / 0.5284 GB, free: 1.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3659, allocations: 1.188 kB / 0.5284 GB, free: 1.895 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002795/0.3662, allocations: 192.7 kB / 0.5286 GB, free: 1.758 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.3665, allocations: 18.28 kB / 0.5286 GB, free: 1.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002898/0.3694, allocations: 2.405 MB / 0.5309 GB, free: 15.81 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.3695, allocations: 111.5 kB / 0.5311 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.576e-05/0.3696, allocations: 14.08 kB / 0.5311 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.145e-05/0.3697, allocations: 43.81 kB / 0.5311 GB, free: 15.7 MB / 398.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3697, allocations: 0 / 0.5311 GB, free: 15.7 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03154/0.4012, allocations: 3.989 MB / 0.535 GB, free: 14.7 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.51, allocations: 18.62 kB / 0.535 GB, free: 14.69 MB / 398.1 MB " [Timeout remaining time 648] (rm -f AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe ; mkfifo AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe >> ../files/AES_AES.Devel_test_models.Test_digital_PI_awfb_full.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_digital_PI_awfb_full_fmu --startTime=0 --stopTime=120 --stepSize=0.2 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_digital_PI_awfb_full.fmu > AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.28893548483029] Failed to read output from testmodel.py, exit status != 0: 11.622578520793468 11.645833463 11.28722193 Calling exit ...