Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SR01.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.001275/0.001275, allocations: 76.55 kB / 19.95 MB, free: 4.59 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.00153/0.00153, allocations: 173.2 kB / 23.23 MB, free: 1.309 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.8795/0.8795, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.06612/0.06612, allocations: 18.13 MB / 278.1 MB, free: 11.55 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_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 415.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.881e-05/2.044e-05, allocations: 7.656 kB / 415.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.001364/0.001385, allocations: 0.7094 MB / 415.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001639/0.001549, allocations: 26.61 kB / 415.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.137e-05/0.00158, allocations: 1.156 kB / 415.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.001607, allocations: 8.5 kB / 415.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.475e-05/0.001672, allocations: 0.7969 kB / 415.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.647e-05/0.001749, allocations: 4.156 kB / 415.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 5.987e-05/0.001808, allocations: 23.84 kB / 415.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.723e-05/0.001896, allocations: 3.531 kB / 415.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.153e-05/0.001917, allocations: 5.938 kB / 415.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.906e-05/0.001986, allocations: 19.58 kB / 415.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.002006, allocations: 1.156 kB / 415.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.955e-06/0.002014, allocations: 2.25 kB / 415.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.002029, allocations: 2.438 kB / 415.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.915e-05/0.002048, allocations: 9.984 kB / 415.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 7.246e-05/0.00212, allocations: 27.73 kB / 415.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.002123, allocations: 0 / 415.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.002124, allocations: 1.375 kB / 415.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.002127, allocations: 0 / 415.9 MB, free: 12.27 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002727/0.0024, allocations: 250.9 kB / 416.2 MB, free: 12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.002441, allocations: 11.45 kB / 416.2 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.152e-05/0.002463, allocations: 31.36 kB / 416.2 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.062e-05/0.002483, allocations: 2.859 kB / 416.2 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.71e-05/0.002551, allocations: 110.6 kB / 416.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.002559, allocations: 14.09 kB / 416.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.933e-06/0.002566, allocations: 384 / 416.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.276e-05/0.002639, allocations: 41.52 kB / 416.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.002645, allocations: 192 / 416.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.002653, allocations: 2.281 kB / 416.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.002658, allocations: 4.125 kB / 416.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.878e-05/0.002696, allocations: 18.97 kB / 416.4 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.00294, allocations: 216.6 kB / 416.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.513e-05/0.003015, allocations: 32.88 kB / 416.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.509e-05/0.00304, allocations: 14.14 kB / 416.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.003057, allocations: 5.156 kB / 416.7 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.371e-05/0.003071, allocations: 37.44 kB / 416.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.003072, allocations: 0 / 416.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001291/0.003201, allocations: 60.94 kB / 416.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.821e-05/0.003219, allocations: 52.88 kB / 416.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.011e-05/0.00326, allocations: 105.1 kB / 416.9 MB, free: 11.24 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.18e-06/0.003265, allocations: 25.7 kB / 416.9 MB, free: 11.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.207e-05/0.003287, allocations: 81.98 kB / 417 MB, free: 11.13 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.003305, allocations: 10.02 kB / 417 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.003328, allocations: 18 kB / 417 MB, free: 11.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.921e-05/0.003357, allocations: 317.5 kB / 417.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.422e-05/0.003371, allocations: 10.17 kB / 417.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.518e-06/0.003381, allocations: 3.734 kB / 417.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.769e-05/0.003408, allocations: 23.67 kB / 417.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.00341, allocations: 0 / 417.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.374e-05/0.003454, allocations: 57.52 kB / 417.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.003466, allocations: 4.906 kB / 417.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.00347, allocations: 3.359 kB / 417.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.00348, allocations: 1.25 kB / 417.4 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.687e-05/0.003527, allocations: 4.984 kB / 417.5 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.003531, allocations: 0.6562 kB / 417.5 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.385e-05/0.003545, allocations: 6.5 kB / 417.5 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.00355, allocations: 0.9688 kB / 417.5 MB, free: 10.71 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 3.489e-05/0.003585, allocations: 109.4 kB / 417.6 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.003597, allocations: 6.281 kB / 417.6 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.003707, allocations: 74.09 kB / 417.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.003708, allocations: 0 / 417.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.003712, allocations: 1.969 kB / 417.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.003715, allocations: 4.844 kB / 417.7 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.899e-05/0.003794, allocations: 134.6 kB / 417.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.003795, allocations: 1.562 kB / 417.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.175e-05/0.003817, allocations: 8.906 kB / 417.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.003818, allocations: 7.875 kB / 417.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.003825, allocations: 2.062 kB / 417.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.003826, allocations: 0 / 417.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.003827, allocations: 1.438 kB / 417.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.224e-05/0.003889, allocations: 160 kB / 418 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-06/0.003898, allocations: 9.094 kB / 418 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.003907, allocations: 1.938 kB / 418 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.735e-05/0.003935, allocations: 4 kB / 418 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.003949, allocations: 4.484 kB / 418 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.003952, allocations: 2.266 kB / 418 MB, free: 10.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.586e-05/0.003968, allocations: 82.95 kB / 418.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003968, allocations: 0 / 418.1 MB, free: 10.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001406/0.004109, allocations: 8.094 kB / 418.1 MB, free: 10.13 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0001446/0.004254, allocations: 0.6867 MB / 418.8 MB, free: 9.457 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.58e-05/0.004319, allocations: 18.34 kB / 418.8 MB, free: 9.453 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.004321, allocations: 1.375 kB / 418.8 MB, free: 9.453 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.387e-05/0.004335, allocations: 18.5 kB / 418.8 MB, free: 9.445 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.004552, allocations: 6.25 kB / 418.8 MB, free: 9.445 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005363/0.005088, allocations: 1.184 MB / 420 MB, free: 8.266 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.26e-05/0.005121, allocations: 62.75 kB / 420 MB, free: 8.195 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.278e-05/0.005144, allocations: 8.234 kB / 420.1 MB, free: 8.191 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.788e-05/0.005182, allocations: 15.92 kB / 420.1 MB, free: 8.18 MB / 330.7 MB Notification: Performance of SimCode: time 2.91e-07/0.005182, allocations: 4 kB / 420.1 MB, free: 8.176 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01256/0.01774, allocations: 1.938 MB / 422 MB, free: 7.281 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.697/6.715, allocations: 4.031 kB / 422 MB, free: 7.281 MB / 330.7 MB " [Timeout remaining time 653] (rm -f AES_AES.Devel_test_models.Test_SR01.pipe ; mkfifo AES_AES.Devel_test_models.Test_SR01.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SR01.pipe >> ../files/AES_AES.Devel_test_models.Test_SR01.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_SR01_fmu --startTime=0 --stopTime=10 --stepSize=0.02 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_SR01.fmu > AES_AES.Devel_test_models.Test_SR01.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.61432683095336] Failed to read output from testmodel.py, exit status != 0: 6.794883385300636 6.806901623 6.802415399 Calling exit ...