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.0007897/0.0007897, allocations: 76.52 kB / 19.95 MB, free: 4.613 MB / 18.57 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.0007836/0.0007836, allocations: 173.2 kB / 23.23 MB, free: 1.332 MB / 18.57 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 0.8947/0.8947, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.06157/0.06157, allocations: 18.13 MB / 278.1 MB, free: 11.52 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 1.422 kB / 412.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.012e-05/2.169e-05, allocations: 2.281 kB / 412.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_digital_PI_awfb_full): time 0.002012/0.002034, allocations: 1.727 MB / 414.4 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004805/0.002515, allocations: 232.8 kB / 414.7 MB, free: 12.65 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.151e-05/0.002606, allocations: 1.438 kB / 414.7 MB, free: 12.65 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.002714, allocations: 25.42 kB / 414.7 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.002866, allocations: 24.62 kB / 414.7 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.002993, allocations: 63.47 kB / 414.8 MB, free: 12.58 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.0032, allocations: 178.3 kB / 414.9 MB, free: 12.49 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.003344, allocations: 54.27 kB / 415 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.283e-05/0.003407, allocations: 55.17 kB / 415.1 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.743e-05/0.003505, allocations: 58.78 kB / 415.1 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.011e-05/0.003535, allocations: 14.22 kB / 415.1 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.857e-05/0.003553, allocations: 15.69 kB / 415.1 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.657e-05/0.00358, allocations: 22.83 kB / 415.2 MB, free: 12.4 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.014e-05/0.00364, allocations: 56.11 kB / 415.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.00383, allocations: 152.4 kB / 415.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.003835, allocations: 3.938 kB / 415.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.003837, allocations: 0.6562 kB / 415.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.003842, allocations: 1.125 kB / 415.4 MB, free: 12.29 MB / 330.7 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.0004602/0.004302, allocations: 428.4 kB / 415.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.004345, allocations: 10.86 kB / 415.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.435e-05/0.004379, allocations: 48.02 kB / 415.8 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.00442, allocations: 25.19 kB / 415.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.004634, allocations: 151.8 kB / 416 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.004657, allocations: 13.38 kB / 416 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.004686, allocations: 16.81 kB / 416 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.004964, allocations: 186.7 kB / 416.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.004973, allocations: 4.125 kB / 416.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.004988, allocations: 7.938 kB / 416.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.004995, allocations: 8.844 kB / 416.3 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.005195, allocations: 136.2 kB / 416.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.005712, allocations: 422.8 kB / 416.8 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.005866, allocations: 122.2 kB / 416.9 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.00597, allocations: 105.5 kB / 417 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.005996, allocations: 2.406 kB / 417 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.006203, allocations: 192.5 kB / 417.2 MB, free: 10.88 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.984e-06/0.006205, allocations: 0 / 417.2 MB, free: 10.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005357/0.006741, allocations: 462 kB / 417.7 MB, free: 10.63 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.006781, allocations: 121.8 kB / 417.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.192e-05/0.006853, allocations: 138.3 kB / 417.9 MB, free: 10.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.006865, allocations: 34.36 kB / 417.9 MB, free: 10.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.006906, allocations: 121.7 kB / 418.1 MB, free: 10.24 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.006936, allocations: 59.23 kB / 418.1 MB, free: 10.19 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.006989, allocations: 52.73 kB / 418.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.136e-05/0.007021, allocations: 323.8 kB / 418.5 MB, free: 9.844 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.007136, allocations: 115.1 kB / 418.6 MB, free: 9.762 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.007259, allocations: 186.1 kB / 418.8 MB, free: 9.598 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.007465, allocations: 268 kB / 419 MB, free: 9.379 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.007468, allocations: 4 kB / 419.1 MB, free: 9.375 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003096/0.007777, allocations: 392.3 kB / 419.4 MB, free: 9.129 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.007811, allocations: 69.81 kB / 419.5 MB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.007817, allocations: 1.625 kB / 419.5 MB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.007832, allocations: 8.125 kB / 419.5 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.007936, allocations: 31.69 kB / 419.5 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/0.007943, allocations: 4.109 kB / 419.5 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.272e-05/0.008026, allocations: 30.36 kB / 419.6 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.00804, allocations: 9.844 kB / 419.6 MB, free: 9.039 MB / 330.7 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 8.897e-05/0.008129, allocations: 177.4 kB / 419.8 MB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.857e-05/0.008148, allocations: 16.34 kB / 419.8 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004279/0.008576, allocations: 402.9 kB / 420.2 MB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.008579, allocations: 5.406 kB / 420.2 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.008584, allocations: 5.688 kB / 420.2 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.008587, allocations: 0.6562 kB / 420.2 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.008709, allocations: 201.9 kB / 420.4 MB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.008711, allocations: 1.562 kB / 420.4 MB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.268e-05/0.008793, allocations: 29.14 kB / 420.4 MB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.008796, allocations: 1.344 kB / 420.4 MB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.008811, allocations: 9.219 kB / 420.4 MB, free: 8.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.008813, allocations: 1.312 kB / 420.4 MB, free: 8.453 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.008814, allocations: 4.594 kB / 420.4 MB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005401/0.009355, allocations: 0.5493 MB / 421 MB, free: 8.133 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.554e-05/0.00937, allocations: 16.75 kB / 421 MB, free: 8.121 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.009393, allocations: 8.828 kB / 421 MB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.653e-05/0.009479, allocations: 23.61 kB / 421 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.009543, allocations: 22.03 kB / 421 MB, free: 8.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.009556, allocations: 10.84 kB / 421.1 MB, free: 8.105 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.388e-05/0.00959, allocations: 97.38 kB / 421.1 MB, free: 8.027 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00959, allocations: 3.938 kB / 421.2 MB, free: 8.023 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001781/0.009769, allocations: 42.77 kB / 421.2 MB, free: 8.016 MB / 330.7 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.0006443/0.01041, allocations: 1.103 MB / 422.3 MB, free: 7.156 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003458/0.01076, allocations: 402.7 kB / 422.7 MB, free: 6.859 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.01076, allocations: 0 / 422.7 MB, free: 6.859 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.01091, allocations: 190.2 kB / 422.9 MB, free: 6.723 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.01108, allocations: 22.42 kB / 422.9 MB, free: 6.715 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.0128, allocations: 2.402 MB / 425.3 MB, free: 4.785 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.491e-05/0.01286, allocations: 114.3 kB / 425.4 MB, free: 4.699 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.238e-05/0.01293, allocations: 16.03 kB / 425.4 MB, free: 4.695 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.449e-05/0.01299, allocations: 43.97 kB / 425.5 MB, free: 4.664 MB / 330.7 MB Notification: Performance of SimCode: time 8.41e-07/0.01299, allocations: 0 / 425.5 MB, free: 4.664 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.03316, allocations: 4.12 MB / 429.6 MB, free: 3.582 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.946/6.979, allocations: 15.61 kB / 429.6 MB, free: 3.574 MB / 330.7 MB " [Timeout remaining time 653] (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: 8.85064172744751] Failed to read output from testmodel.py, exit status != 0: 7.206126323901117 7.06975474 7.063976206 Calling exit ...