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.001645/0.001645, allocations: 116.1 kB / 17.16 MB, free: 6.023 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.001972/0.001972, allocations: 205.5 kB / 20.13 MB, free: 3.078 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.568/1.568, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1014/0.1014, allocations: 22.94 MB / 332.5 MB, free: 2.648 MB / 254.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="cs",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="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.002959/0.002959, allocations: 68.75 kB / 464.6 MB, free: 33.54 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1516, allocations: 59.26 MB / 0.5116 GB, free: 164 kB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.004679/0.1563, allocations: 1.767 MB / 0.5133 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009588/0.1573, allocations: 243.5 kB / 0.5136 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.1574, allocations: 4 kB / 0.5136 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.1577, allocations: 23.73 kB / 0.5136 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.1579, allocations: 19.8 kB / 0.5136 GB, free: 14.09 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.0002536/0.1581, allocations: 63.86 kB / 0.5137 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000423/0.1586, allocations: 163.7 kB / 0.5138 GB, free: 13.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.1588, allocations: 55.92 kB / 0.5139 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.1589, allocations: 63.77 kB / 0.5139 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.1591, allocations: 83.55 kB / 0.514 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.082e-05/0.1592, allocations: 19.98 kB / 0.514 GB, free: 13.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.212e-05/0.1592, allocations: 16 kB / 0.5141 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.96e-05/0.1593, allocations: 19.92 kB / 0.5141 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.1594, allocations: 75.59 kB / 0.5142 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.1597, allocations: 143.2 kB / 0.5143 GB, free: 13.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.1597, allocations: 4 kB / 0.5143 GB, free: 13.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1597, allocations: 0 / 0.5143 GB, free: 13.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1598, allocations: 0 / 0.5143 GB, free: 13.39 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.0009358/0.1607, allocations: 0.4905 MB / 0.5148 GB, free: 12.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.685e-05/0.1608, allocations: 16.61 kB / 0.5148 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.428e-05/0.1608, allocations: 192 / 0.5148 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.87e-05/0.1608, allocations: 46.75 kB / 0.5148 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.578e-05/0.1609, allocations: 24.83 kB / 0.5149 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/0.1614, allocations: 212.1 kB / 0.5151 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.36e-05/0.1614, allocations: 12.38 kB / 0.5151 GB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.625e-05/0.1615, allocations: 16.38 kB / 0.5151 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005688/0.162, allocations: 161.9 kB / 0.5152 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.162, allocations: 0 / 0.5152 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.1621, allocations: 4 kB / 0.5152 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.1621, allocations: 4 kB / 0.5152 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005314/0.1626, allocations: 107.5 kB / 0.5153 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.1638, allocations: 492.2 kB / 0.5158 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.1641, allocations: 90.47 kB / 0.5159 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.1644, allocations: 68.77 kB / 0.516 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.1644, allocations: 4 kB / 0.516 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004585/0.1649, allocations: 153 kB / 0.5161 GB, free: 11.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.974e-06/0.1649, allocations: 0 / 0.5161 GB, free: 11.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001333/0.1662, allocations: 365.1 kB / 0.5165 GB, free: 10.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.1663, allocations: 114.8 kB / 0.5166 GB, free: 10.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001953/0.1665, allocations: 144.3 kB / 0.5167 GB, free: 10.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.116e-05/0.1666, allocations: 33.7 kB / 0.5167 GB, free: 10.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.1667, allocations: 112.5 kB / 0.5169 GB, free: 10.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.597e-05/0.1668, allocations: 51.59 kB / 0.5169 GB, free: 10.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.1669, allocations: 57.69 kB / 0.517 GB, free: 10.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.1671, allocations: 318.8 kB / 0.5173 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.1674, allocations: 63.95 kB / 0.5173 GB, free: 10.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/0.1677, allocations: 120.5 kB / 0.5174 GB, free: 9.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00069/0.1684, allocations: 270.4 kB / 0.5177 GB, free: 9.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1684, allocations: 4 kB / 0.5177 GB, free: 9.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000916/0.1694, allocations: 312.9 kB / 0.518 GB, free: 9.242 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.061e-05/0.1694, allocations: 75.39 kB / 0.5181 GB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.1694, allocations: 4 kB / 0.5181 GB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.1695, allocations: 4 kB / 0.5181 GB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.1697, allocations: 31.91 kB / 0.5181 GB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.1697, allocations: 4 kB / 0.5181 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.17, allocations: 23.88 kB / 0.5181 GB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.17, allocations: 16 kB / 0.5181 GB, free: 9.074 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.0002349/0.1703, allocations: 183.3 kB / 0.5183 GB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/0.1703, allocations: 19.84 kB / 0.5183 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.1714, allocations: 353.5 kB / 0.5187 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.1714, allocations: 4 kB / 0.5187 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1714, allocations: 4 kB / 0.5187 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.1714, allocations: 0 / 0.5187 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.1718, allocations: 245.4 kB / 0.5189 GB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1718, allocations: 0 / 0.5189 GB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.172, allocations: 19.98 kB / 0.5189 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.172, allocations: 3.938 kB / 0.5189 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.172, allocations: 7.984 kB / 0.519 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.172, allocations: 0 / 0.519 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.172, allocations: 0 / 0.519 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.1735, allocations: 463.9 kB / 0.5194 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.901e-05/0.1736, allocations: 89.03 kB / 0.5195 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.557e-05/0.1736, allocations: 8 kB / 0.5195 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.1739, allocations: 24.03 kB / 0.5195 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.174, allocations: 27.97 kB / 0.5195 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.174, allocations: 11.94 kB / 0.5195 GB, free: 7.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.1741, allocations: 96.53 kB / 0.5196 GB, free: 7.426 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1741, allocations: 0 / 0.5196 GB, free: 7.426 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004626/0.1746, allocations: 47.89 kB / 0.5197 GB, free: 7.379 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.001884/0.1765, allocations: 1.004 MB / 0.5207 GB, free: 6.344 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008627/0.1774, allocations: 290.7 kB / 0.5209 GB, free: 6.035 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1774, allocations: 7.938 kB / 0.521 GB, free: 6.027 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000416/0.1778, allocations: 147.3 kB / 0.5211 GB, free: 5.871 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.1781, allocations: 16.66 kB / 0.5211 GB, free: 5.855 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004392/0.1825, allocations: 2.107 MB / 0.5232 GB, free: 3.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004834/0.183, allocations: 0.7158 MB / 0.5239 GB, free: 2.859 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001203/0.1831, allocations: 24.42 kB / 0.5239 GB, free: 2.836 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.1833, allocations: 43.42 kB / 0.5239 GB, free: 2.793 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1833, allocations: 0 / 0.5239 GB, free: 2.793 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.2108, allocations: 3.405 MB / 0.5273 GB, free: 15.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.616/8.827, allocations: 4.062 kB / 0.5273 GB, free: 15.47 MB / 398.1 MB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 11.778596367978025] Failed to read output from testmodel.py, exit status != 0: 8.954066599020734 8.969398856 8.806284651 Calling exit ...