Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.TITO_rational_zeroInit.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.0007458/0.0007458, 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.000792/0.000792, allocations: 169.6 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.8952/0.8952, 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.06104/0.06104, allocations: 18.13 MB / 278.1 MB, free: 11.54 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.ProcessBlocks.TITO_rational_zeroInit,fileNamePrefix="AES_AES_ProcessBlocks_TITO_rational_zeroInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.TITO_rational_zeroInit,fileNamePrefix="AES_AES_ProcessBlocks_TITO_rational_zeroInit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 412.7 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.934e-05, allocations: 2.281 kB / 412.7 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.001956/0.001985, allocations: 1.037 MB / 413.7 MB, free: 15.84 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.003465, allocations: 1.326 MB / 415 MB, free: 14.5 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.003579, allocations: 4 kB / 415 MB, free: 14.5 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000333/0.003912, allocations: 67.48 kB / 415.1 MB, free: 14.43 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.004102, allocations: 87.48 kB / 415.2 MB, free: 14.34 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003565/0.004459, allocations: 215.5 kB / 415.4 MB, free: 14.13 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.004742, allocations: 295.2 kB / 415.7 MB, free: 13.84 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.004889, allocations: 40.55 kB / 415.7 MB, free: 13.8 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.00503, allocations: 127.6 kB / 415.8 MB, free: 13.68 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001872/0.005218, allocations: 143.6 kB / 416 MB, free: 13.54 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.005357, allocations: 16 kB / 416 MB, free: 13.52 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.917e-05/0.005386, allocations: 20 kB / 416 MB, free: 13.5 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.862e-05/0.005485, allocations: 103.6 kB / 416.1 MB, free: 13.4 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.805e-05/0.005543, allocations: 59.83 kB / 416.2 MB, free: 13.34 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.005776, allocations: 231.1 kB / 416.4 MB, free: 13.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.00578, allocations: 4 kB / 416.4 MB, free: 13.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.005781, allocations: 0 / 416.4 MB, free: 13.11 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.005786, allocations: 0 / 416.4 MB, free: 13.11 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001214/0.007, allocations: 0.6255 MB / 417 MB, free: 12.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.007045, allocations: 16.92 kB / 417.1 MB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.628e-05/0.007122, allocations: 46.69 kB / 417.1 MB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/0.007172, allocations: 32.75 kB / 417.1 MB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005368/0.007709, allocations: 353.6 kB / 417.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.007724, allocations: 12.38 kB / 417.5 MB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.007751, allocations: 16.31 kB / 417.5 MB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.007969, allocations: 159.8 kB / 417.7 MB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.007978, allocations: 192 / 417.7 MB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.007993, allocations: 8.125 kB / 417.7 MB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.007999, allocations: 4 kB / 417.7 MB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.008194, allocations: 143.9 kB / 417.8 MB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007556/0.008949, allocations: 0.5856 MB / 418.4 MB, free: 11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000412/0.009361, allocations: 221.2 kB / 418.6 MB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.154e-05/0.009443, allocations: 69.67 kB / 418.7 MB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.009462, allocations: 3.938 kB / 418.7 MB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.009484, allocations: 38.56 kB / 418.7 MB, free: 10.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.009486, allocations: 0 / 418.7 MB, free: 10.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003777/0.009863, allocations: 246.2 kB / 419 MB, free: 10.39 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.009901, allocations: 85.09 kB / 419 MB, free: 10.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000485/0.01039, allocations: 428.3 kB / 419.5 MB, free: 9.863 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.01041, allocations: 33.7 kB / 419.5 MB, free: 9.824 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.85e-05/0.01048, allocations: 160.3 kB / 419.7 MB, free: 9.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.01052, allocations: 55.53 kB / 419.7 MB, free: 9.605 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.01056, allocations: 29.72 kB / 419.7 MB, free: 9.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.167e-05/0.01065, allocations: 342.8 kB / 420.1 MB, free: 9.227 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.233e-05/0.01073, allocations: 55.97 kB / 420.1 MB, free: 9.172 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.117e-05/0.01081, allocations: 77.67 kB / 420.2 MB, free: 9.09 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.01097, allocations: 165.5 kB / 420.4 MB, free: 8.922 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01097, allocations: 0 / 420.4 MB, free: 8.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002335/0.01121, allocations: 213.3 kB / 420.6 MB, free: 8.707 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.01122, allocations: 4 kB / 420.6 MB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.01123, allocations: 4 kB / 420.6 MB, free: 8.699 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.01125, allocations: 0 / 420.6 MB, free: 8.699 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.0114, allocations: 51.97 kB / 420.6 MB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.0114, allocations: 7.938 kB / 420.6 MB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.01156, allocations: 51.88 kB / 420.7 MB, free: 8.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.01157, allocations: 4 kB / 420.7 MB, free: 8.586 MB / 394.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 9.553e-05/0.01166, allocations: 149.8 kB / 420.8 MB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.0117, allocations: 24.05 kB / 420.9 MB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.566e-05/0.01176, allocations: 41.83 kB / 420.9 MB, free: 8.363 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.01176, allocations: 3.938 kB / 420.9 MB, free: 8.359 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.01177, allocations: 4 kB / 420.9 MB, free: 8.355 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.01177, allocations: 3.938 kB / 420.9 MB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.01204, allocations: 244.5 kB / 421.2 MB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.01204, allocations: 0 / 421.2 MB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.01214, allocations: 23.98 kB / 421.2 MB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.01215, allocations: 4 kB / 421.2 MB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.01216, allocations: 4 kB / 421.2 MB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.01217, allocations: 4 kB / 421.2 MB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.01217, allocations: 4.016 kB / 421.2 MB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/0.01256, allocations: 462.3 kB / 421.6 MB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.315e-05/0.01261, allocations: 27.81 kB / 421.7 MB, free: 7.539 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.01263, allocations: 12.03 kB / 421.7 MB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.01281, allocations: 43.94 kB / 421.7 MB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.01284, allocations: 16.02 kB / 421.7 MB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.01285, allocations: 8 kB / 421.8 MB, free: 7.461 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004105/0.01326, allocations: 334.9 kB / 422.1 MB, free: 7.137 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.01326, allocations: 4 kB / 422.1 MB, free: 7.133 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000229/0.01349, allocations: 35.94 kB / 422.1 MB, free: 7.098 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (P11.x_scaled[1],P12.x_scaled[1],P21.x_scaled[1],P22.x_scaled[1]) * 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 (14): * Single equations (assignments): 14 * 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.0005622/0.01406, allocations: 0.9887 MB / 423.1 MB, free: 6.082 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.01427, allocations: 135.9 kB / 423.2 MB, free: 5.949 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.01427, allocations: 0 / 423.2 MB, free: 5.949 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.244e-05/0.01434, allocations: 71.89 kB / 423.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.01466, allocations: 62.23 kB / 423.4 MB, free: 5.824 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/0.01777, allocations: 3.106 MB / 426.5 MB, free: 2.621 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.01789, allocations: 173.8 kB / 426.6 MB, free: 2.434 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.735e-05/0.01798, allocations: 50.27 kB / 426.7 MB, free: 2.383 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.01809, allocations: 88.47 kB / 426.8 MB, free: 2.297 MB / 394.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01809, allocations: 0 / 426.8 MB, free: 2.297 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.03616, allocations: 5.798 MB / 432.6 MB, free: 12.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.85/6.886, allocations: 0 / 432.6 MB, free: 12.63 MB / 410.7 MB " [Timeout remaining time 653] (rm -f AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe ; mkfifo AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe >> ../files/AES_AES.ProcessBlocks.TITO_rational_zeroInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessBlocks_TITO_rational_zeroInit_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AES_AES_ProcessBlocks_TITO_rational_zeroInit.fmu > AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.838723658584058] Failed to read output from testmodel.py, exit status != 0: 6.96969142742455 7.150608342 6.970356994 Calling exit ...