Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.FOPDT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AES.ProcessBlocks.FOPDT,fileNamePrefix="AES_AES_ProcessBlocks_FOPDT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.FOPDT,fileNamePrefix="AES_AES_ProcessBlocks_FOPDT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004701/0.004701, allocations: 97.5 kB / 15.73 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 193 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1124/0.1124, allocations: 22.32 MB / 312.9 MB, free: 8.879 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 55.91 kB / 434.4 MB, free: 14.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1118, allocations: 54.94 MB / 489.3 MB, free: 7.395 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.00305/0.1149, allocations: 1.44 MB / 490.8 MB, free: 5.941 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003996/0.1153, allocations: 115.6 kB / 490.9 MB, free: 5.828 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.915e-05/0.1154, allocations: 3.938 kB / 490.9 MB, free: 5.824 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.003e-05/0.1154, allocations: 0 / 490.9 MB, free: 5.824 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.514e-05/0.1155, allocations: 11.86 kB / 490.9 MB, free: 5.812 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002675/0.1158, allocations: 19.98 kB / 490.9 MB, free: 5.793 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.1159, allocations: 35.84 kB / 491 MB, free: 5.758 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.1161, allocations: 20.27 kB / 491 MB, free: 5.738 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.676e-05/0.1161, allocations: 7.938 kB / 491 MB, free: 5.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.557e-05/0.1162, allocations: 19.86 kB / 491 MB, free: 5.711 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.1162, allocations: 0 / 491 MB, free: 5.711 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.279e-05/0.1162, allocations: 4 kB / 491 MB, free: 5.707 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.1162, allocations: 4 kB / 491 MB, free: 5.703 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.1163, allocations: 15.88 kB / 491 MB, free: 5.688 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.803e-05/0.1164, allocations: 31.77 kB / 491.1 MB, free: 5.656 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1164, allocations: 4 kB / 491.1 MB, free: 5.652 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1164, allocations: 4 kB / 491.1 MB, free: 5.648 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.1164, allocations: 0 / 491.1 MB, free: 5.648 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004924/0.1169, allocations: 343.3 kB / 491.4 MB, free: 5.262 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.117, allocations: 8.031 kB / 491.4 MB, free: 5.254 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.65e-05/0.117, allocations: 38.73 kB / 491.5 MB, free: 5.207 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.629e-05/0.1171, allocations: 0.9375 kB / 491.5 MB, free: 5.207 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.1173, allocations: 180.3 kB / 491.6 MB, free: 4.992 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.1174, allocations: 4.312 kB / 491.6 MB, free: 4.988 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.1174, allocations: 4.375 kB / 491.6 MB, free: 4.984 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.1175, allocations: 58.12 kB / 491.7 MB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1175, allocations: 3.938 kB / 491.7 MB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.1175, allocations: 0 / 491.7 MB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1175, allocations: 0 / 491.7 MB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.025e-05/0.1176, allocations: 8 kB / 491.7 MB, free: 4.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.118, allocations: 276.8 kB / 492 MB, free: 4.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.082e-05/0.1181, allocations: 26.52 kB / 492 MB, free: 4.555 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.577e-05/0.1181, allocations: 16.92 kB / 492 MB, free: 4.535 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.1181, allocations: 0 / 492 MB, free: 4.535 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.1182, allocations: 30.56 kB / 492.1 MB, free: 4.496 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.1182, allocations: 0 / 492.1 MB, free: 4.496 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001653/0.1183, allocations: 53.58 kB / 492.1 MB, free: 4.438 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.1184, allocations: 51.41 kB / 492.2 MB, free: 4.375 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.1185, allocations: 118 kB / 492.3 MB, free: 4.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.1185, allocations: 29.7 kB / 492.3 MB, free: 4.215 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/0.1186, allocations: 92.08 kB / 492.4 MB, free: 4.121 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.033e-05/0.1186, allocations: 3.953 kB / 492.4 MB, free: 4.117 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.1187, allocations: 17.72 kB / 492.4 MB, free: 4.094 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1188, allocations: 318.8 kB / 492.7 MB, free: 3.773 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.1188, allocations: 7.984 kB / 492.7 MB, free: 3.766 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.558e-05/0.1189, allocations: 11.98 kB / 492.7 MB, free: 3.754 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.828e-05/0.1189, allocations: 20.86 kB / 492.8 MB, free: 3.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1189, allocations: 0 / 492.8 MB, free: 3.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.785e-05/0.119, allocations: 49.62 kB / 492.8 MB, free: 3.676 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.119, allocations: 4 kB / 492.8 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.119, allocations: 0 / 492.8 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.119, allocations: 0 / 492.8 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.982e-05/0.1191, allocations: 4 kB / 492.8 MB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.1191, allocations: 7.984 kB / 492.8 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.205e-05/0.1191, allocations: 3.953 kB / 492.8 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.1192, allocations: 384 / 492.8 MB, free: 3.656 MB / 366.1 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 9.86e-05/0.1193, allocations: 122.5 kB / 493 MB, free: 3.527 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.1193, allocations: 4 kB / 493 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/0.1193, allocations: 7.516 kB / 493 MB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.1193, allocations: 3.938 kB / 493 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1193, allocations: 7.938 kB / 493 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1193, allocations: 0 / 493 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.1196, allocations: 294.4 kB / 493.3 MB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1196, allocations: 0 / 493.3 MB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.955e-05/0.1197, allocations: 4 kB / 493.3 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1197, allocations: 4.031 kB / 493.3 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1197, allocations: 0 / 493.3 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1197, allocations: 0 / 493.3 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.1197, allocations: 7.922 kB / 493.3 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.1199, allocations: 143.5 kB / 493.4 MB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.744e-05/0.12, allocations: 81.09 kB / 493.5 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.12, allocations: 0 / 493.5 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.924e-05/0.12, allocations: 4.094 kB / 493.5 MB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.1201, allocations: 11.91 kB / 493.5 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.1201, allocations: 0 / 493.5 MB, free: 2.871 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.196e-05/0.1201, allocations: 91.27 kB / 493.6 MB, free: 2.781 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1202, allocations: 0 / 493.6 MB, free: 2.781 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.1204, allocations: 7.953 kB / 493.6 MB, free: 2.773 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (Pr.y) * 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 (2): * Single equations (assignments): 2 * 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.0004555/0.1208, allocations: 0.6696 MB / 494.3 MB, free: 2.078 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.429e-05/0.1209, allocations: 15.94 kB / 494.3 MB, free: 2.062 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.1209, allocations: 0 / 494.3 MB, free: 2.062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.409e-05/0.121, allocations: 12 kB / 494.3 MB, free: 2.051 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.1212, allocations: 15.8 kB / 494.3 MB, free: 2.039 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.1225, allocations: 1.283 MB / 495.6 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.1229, allocations: 0.6885 MB / 496.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.438e-05/0.1229, allocations: 11.97 kB / 496.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.123, allocations: 11.44 kB / 496.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.123, allocations: 0 / 496.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.1497, allocations: 1.412 MB / 497.7 MB, free: 14.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.546/7.695, allocations: 11.91 kB / 497.7 MB, free: 14.57 MB / 382.1 MB (rm -f AES_AES.ProcessBlocks.FOPDT.pipe ; mkfifo AES_AES.ProcessBlocks.FOPDT.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.FOPDT.pipe >> ../files/AES_AES.ProcessBlocks.FOPDT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessBlocks_FOPDT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AES_AES_ProcessBlocks_FOPDT.fmu > AES_AES.ProcessBlocks.FOPDT.pipe 2>&1)