Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_analogue_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.0009664/0.0009664, allocations: 72.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.0009384/0.0009384, allocations: 169.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.8791/0.8791, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.06381/0.06381, allocations: 18.13 MB / 278.1 MB, free: 11.53 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_analogue_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_analogue_PI_awfb_full",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_analogue_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_analogue_PI_awfb_full",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0.6094 kB / 412.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.904e-05/2.064e-05, allocations: 2.281 kB / 412.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.001865/0.001886, allocations: 1.719 MB / 414.4 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000269/0.002155, allocations: 148.2 kB / 414.6 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.977e-05/0.002225, allocations: 7.969 kB / 414.6 MB, free: 12.67 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 9.155e-05/0.002316, allocations: 16.17 kB / 414.6 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.002438, allocations: 26.25 kB / 414.6 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.878e-05/0.002517, allocations: 56.08 kB / 414.7 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.002657, allocations: 148.8 kB / 414.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.002784, allocations: 54.62 kB / 414.9 MB, free: 12.56 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.363e-05/0.002837, allocations: 53.5 kB / 414.9 MB, free: 12.54 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.166e-05/0.002909, allocations: 50.95 kB / 415 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.002938, allocations: 13.28 kB / 415 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.586e-05/0.002954, allocations: 12.66 kB / 415 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.002979, allocations: 40.27 kB / 415 MB, free: 12.49 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.003016, allocations: 41.86 kB / 415.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.003153, allocations: 134.3 kB / 415.2 MB, free: 12.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.003157, allocations: 1.703 kB / 415.2 MB, free: 12.4 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.003158, allocations: 4 kB / 415.2 MB, free: 12.4 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.003162, allocations: 0 / 415.2 MB, free: 12.4 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.0003989/0.003561, allocations: 371.5 kB / 415.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.003597, allocations: 11.75 kB / 415.6 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.954e-05/0.003626, allocations: 45.75 kB / 415.6 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.003656, allocations: 17.47 kB / 415.6 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.003809, allocations: 149.9 kB / 415.8 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.003832, allocations: 16.09 kB / 415.8 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.003857, allocations: 25.33 kB / 415.8 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002294/0.004087, allocations: 151.6 kB / 416 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.004094, allocations: 1.172 kB / 416 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.004107, allocations: 5.844 kB / 416 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.004114, allocations: 7.656 kB / 416 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.004325, allocations: 123.1 kB / 416.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005031/0.004828, allocations: 436.9 kB / 416.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.004999, allocations: 114.7 kB / 416.7 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.005105, allocations: 66.92 kB / 416.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.005132, allocations: 6.547 kB / 416.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.417e-05/0.005146, allocations: 34.44 kB / 416.8 MB, free: 11.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.202e-06/0.005147, allocations: 0 / 416.8 MB, free: 11.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004069/0.005554, allocations: 230.5 kB / 417 MB, free: 11.19 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.909e-05/0.005573, allocations: 58.19 kB / 417 MB, free: 11.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.762e-05/0.005631, allocations: 132.2 kB / 417.2 MB, free: 11.01 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.759e-06/0.005641, allocations: 30.7 kB / 417.2 MB, free: 10.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.005675, allocations: 119.3 kB / 417.3 MB, free: 10.87 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.005704, allocations: 76.64 kB / 417.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.296e-05/0.005757, allocations: 48.64 kB / 417.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.879e-05/0.005786, allocations: 322.5 kB / 417.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.005888, allocations: 56.16 kB / 417.8 MB, free: 10.44 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.005998, allocations: 81.77 kB / 417.9 MB, free: 10.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.006191, allocations: 136.7 kB / 418 MB, free: 10.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.006193, allocations: 1.375 kB / 418 MB, free: 10.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002437/0.006436, allocations: 204.2 kB / 418.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.006447, allocations: 4.734 kB / 418.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.006451, allocations: 1.375 kB / 418.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.006465, allocations: 6.109 kB / 418.2 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.006702, allocations: 61.7 kB / 418.3 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.00671, allocations: 1.375 kB / 418.3 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.565e-05/0.006786, allocations: 32.8 kB / 418.3 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.006797, allocations: 4.875 kB / 418.3 MB, free: 10.23 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (ts.y,C.LOsat,C.HIsat,C.noDec,C.noInc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 5.83e-05/0.006855, allocations: 130.7 kB / 418.5 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.006875, allocations: 9.453 kB / 418.5 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.007173, allocations: 204.2 kB / 418.7 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.007175, allocations: 6.688 kB / 418.7 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.007179, allocations: 7.875 kB / 418.7 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.007183, allocations: 1.172 kB / 418.7 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.00733, allocations: 208.6 kB / 418.9 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.007331, allocations: 0 / 418.9 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.007478, allocations: 50.28 kB / 418.9 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.00748, allocations: 5.469 kB / 418.9 MB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.007493, allocations: 6.922 kB / 419 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.007495, allocations: 2 kB / 419 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.007497, allocations: 6.359 kB / 419 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003899/0.007887, allocations: 347.7 kB / 419.3 MB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.445e-05/0.007901, allocations: 20.44 kB / 419.3 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.007918, allocations: 2.766 kB / 419.3 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.74e-05/0.008005, allocations: 21.95 kB / 419.3 MB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.104e-05/0.008076, allocations: 46.28 kB / 419.4 MB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.008084, allocations: 4.688 kB / 419.4 MB, free: 9.539 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.739e-05/0.008112, allocations: 96.22 kB / 419.5 MB, free: 9.461 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008112, allocations: 0 / 419.5 MB, free: 9.461 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001654/0.008277, allocations: 35.45 kB / 419.5 MB, free: 9.449 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C.xfb,C.xBias,C.u,C.csfil,P.y) * Number of discrete variables: 5 (C.noInc,C.noDec,C.HIsat,C.LOsat,ts.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.0004523/0.008729, allocations: 0.894 MB / 420.4 MB, free: 8.699 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002616/0.008991, allocations: 151 kB / 420.6 MB, free: 8.656 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.008993, allocations: 0.6562 kB / 420.6 MB, free: 8.656 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.009111, allocations: 83.19 kB / 420.6 MB, free: 8.637 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.009322, allocations: 25.12 kB / 420.7 MB, free: 8.621 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.01077, allocations: 1.95 MB / 422.6 MB, free: 7.152 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.387e-05/0.01083, allocations: 108 kB / 422.7 MB, free: 7.074 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.037e-05/0.0109, allocations: 26.59 kB / 422.8 MB, free: 7.062 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.244e-05/0.01098, allocations: 53.27 kB / 422.8 MB, free: 7.027 MB / 330.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01098, allocations: 0 / 422.8 MB, free: 7.027 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01747/0.02844, allocations: 4.21 MB / 427 MB, free: 5.977 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.624/6.653, allocations: 3.844 kB / 427 MB, free: 5.977 MB / 330.7 MB " [Timeout remaining time 653] (rm -f AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe ; mkfifo AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe >> ../files/AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_analogue_PI_awfb_full_fmu --startTime=0 --stopTime=120 --stepSize=0.2 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_analogue_PI_awfb_full.fmu > AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.504990534856915] Failed to read output from testmodel.py, exit status != 0: 6.880625676363707 6.74152145 6.736539444 Calling exit ...