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.001542/0.001542, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001906/0.001906, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.969 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.1084/0.1084, allocations: 24.12 MB / 336.6 MB, free: 11.44 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.002046/0.002046, allocations: 75.88 kB / 471 MB, free: 8.746 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3557, allocations: 59.59 MB / 0.5181 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.003012/0.3588, allocations: 1.787 MB / 0.5199 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004994/0.3593, allocations: 238.3 kB / 0.5201 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.205e-05/0.3593, allocations: 5.156 kB / 0.5201 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.3595, allocations: 24.06 kB / 0.5201 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.3596, allocations: 18.53 kB / 0.5201 GB, free: 7.66 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:73:5-73:30:writable] Warning: Conditional component 'ovrMax' is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:79:5-79:30:writable] Warning: Conditional component 'ovrMin' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.3598, allocations: 62.22 kB / 0.5202 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.3601, allocations: 167.2 kB / 0.5203 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.3602, allocations: 62.7 kB / 0.5204 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.593e-05/0.3603, allocations: 67.53 kB / 0.5205 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.3604, allocations: 77.56 kB / 0.5205 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.3604, allocations: 15.12 kB / 0.5206 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.357e-05/0.3604, allocations: 14.62 kB / 0.5206 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.918e-05/0.3605, allocations: 27.81 kB / 0.5206 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.124e-05/0.3605, allocations: 74.75 kB / 0.5207 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.3607, allocations: 142.5 kB / 0.5208 GB, free: 7.297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3607, allocations: 0.8438 kB / 0.5208 GB, free: 7.297 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3607, allocations: 0 / 0.5208 GB, free: 7.297 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3607, allocations: 3.938 kB / 0.5208 GB, free: 7.293 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.000516/0.3613, allocations: 436 kB / 0.5212 GB, free: 6.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.3613, allocations: 11.05 kB / 0.5212 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.022e-05/0.3613, allocations: 48.91 kB / 0.5213 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.3614, allocations: 20.22 kB / 0.5213 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.3616, allocations: 151.8 kB / 0.5214 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.3616, allocations: 12.53 kB / 0.5215 GB, free: 6.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.3617, allocations: 17.44 kB / 0.5215 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.362, allocations: 156.5 kB / 0.5216 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.362, allocations: 7.938 kB / 0.5216 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.3621, allocations: 6.125 kB / 0.5216 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3621, allocations: 3.281 kB / 0.5216 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/0.3624, allocations: 103.6 kB / 0.5217 GB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006942/0.3631, allocations: 449.2 kB / 0.5222 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.3633, allocations: 84.67 kB / 0.5223 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.3635, allocations: 61.56 kB / 0.5223 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.3635, allocations: 10.16 kB / 0.5223 GB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002785/0.3638, allocations: 162.9 kB / 0.5225 GB, free: 6.043 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.342e-06/0.3638, allocations: 0 / 0.5225 GB, free: 6.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007521/0.3645, allocations: 356.2 kB / 0.5228 GB, free: 5.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.3646, allocations: 120.6 kB / 0.5229 GB, free: 5.746 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.062e-05/0.3647, allocations: 140.2 kB / 0.5231 GB, free: 5.629 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.3647, allocations: 29.23 kB / 0.5231 GB, free: 5.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.966e-05/0.3647, allocations: 121.4 kB / 0.5232 GB, free: 5.488 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.3648, allocations: 59.25 kB / 0.5233 GB, free: 5.441 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.589e-05/0.3648, allocations: 52.95 kB / 0.5233 GB, free: 5.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.124e-05/0.3649, allocations: 324.1 kB / 0.5236 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.3651, allocations: 57.42 kB / 0.5237 GB, free: 5.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.3653, allocations: 121.3 kB / 0.5238 GB, free: 4.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003589/0.3656, allocations: 269.4 kB / 0.5241 GB, free: 4.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3656, allocations: 0 / 0.5241 GB, free: 4.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005126/0.3661, allocations: 315.1 kB / 0.5244 GB, free: 4.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.498e-05/0.3662, allocations: 72.47 kB / 0.5244 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3662, allocations: 6.094 kB / 0.5244 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.3662, allocations: 4.156 kB / 0.5244 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.3664, allocations: 27.59 kB / 0.5245 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.3664, allocations: 3.391 kB / 0.5245 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.3665, allocations: 40.22 kB / 0.5245 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.3666, allocations: 13.56 kB / 0.5245 GB, free: 4.488 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.0001206/0.3667, allocations: 178.8 kB / 0.5247 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.3667, allocations: 19.88 kB / 0.5247 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006429/0.3673, allocations: 342.7 kB / 0.525 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3673, allocations: 2.25 kB / 0.525 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3674, allocations: 0 / 0.525 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3674, allocations: 0.7031 kB / 0.525 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.3675, allocations: 224 kB / 0.5252 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3675, allocations: 0.6562 kB / 0.5252 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.3677, allocations: 25.19 kB / 0.5253 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3677, allocations: 5.125 kB / 0.5253 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.3677, allocations: 5.812 kB / 0.5253 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.3677, allocations: 1.125 kB / 0.5253 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3677, allocations: 0 / 0.5253 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008209/0.3685, allocations: 459.1 kB / 0.5257 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.3685, allocations: 16.27 kB / 0.5257 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.3686, allocations: 9.438 kB / 0.5257 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.3687, allocations: 19.64 kB / 0.5258 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.3689, allocations: 27.42 kB / 0.5258 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.3689, allocations: 9.719 kB / 0.5258 GB, free: 3.676 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.716e-05/0.3689, allocations: 100.3 kB / 0.5259 GB, free: 3.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3689, allocations: 0 / 0.5259 GB, free: 3.598 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.3692, allocations: 47.64 kB / 0.5259 GB, free: 3.586 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.0009168/0.3701, allocations: 0.9999 MB / 0.5269 GB, free: 2.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004875/0.3706, allocations: 296.7 kB / 0.5272 GB, free: 2.621 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3706, allocations: 0 / 0.5272 GB, free: 2.621 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.3708, allocations: 149.8 kB / 0.5273 GB, free: 2.523 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.371, allocations: 21.11 kB / 0.5274 GB, free: 2.516 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.3734, allocations: 2.109 MB / 0.5294 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.3736, allocations: 0.7182 MB / 0.5301 GB, free: 192 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.755e-05/0.3737, allocations: 18.58 kB / 0.5301 GB, free: 184 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.348e-05/0.3737, allocations: 43.72 kB / 0.5302 GB, free: 152 kB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3737, allocations: 4 kB / 0.5302 GB, free: 148 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03265/0.4064, allocations: 3.596 MB / 0.5337 GB, free: 15.61 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.69, allocations: 4.906 kB / 0.5337 GB, free: 15.61 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.406705870991573] Failed to read output from testmodel.py, exit status != 0: 11.794278046116233 11.811030005 11.447151478 Calling exit ...