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.001217/0.001217, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001044/0.001044, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.192/1.192, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1811/0.1811, allocations: 22.34 MB / 312.3 MB, free: 12.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.89 kB / 378.1 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2239, allocations: 54.94 MB / 433.1 MB, free: 38.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.001928/0.2259, allocations: 1.482 MB / 434.6 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002661/0.2262, allocations: 120 kB / 434.7 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.233e-05/0.2262, allocations: 0 / 434.7 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.613e-05/0.2263, allocations: 4 kB / 434.7 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.288e-05/0.2263, allocations: 7.922 kB / 434.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.2265, allocations: 20.89 kB / 434.7 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.085e-05/0.2266, allocations: 29.84 kB / 434.8 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.087e-05/0.2266, allocations: 15.27 kB / 434.8 MB, free: 37.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.674e-05/0.2266, allocations: 10.8 kB / 434.8 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.595e-05/0.2267, allocations: 16.81 kB / 434.8 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.779e-06/0.2267, allocations: 0 / 434.8 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.997e-06/0.2267, allocations: 10.78 kB / 434.8 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.009e-05/0.2267, allocations: 7.406 kB / 434.8 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.035e-05/0.2268, allocations: 18.75 kB / 434.8 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.17e-05/0.2268, allocations: 29.48 kB / 434.9 MB, free: 37.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2268, allocations: 0 / 434.9 MB, free: 37.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2268, allocations: 0 / 434.9 MB, free: 37.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.2268, allocations: 0 / 434.9 MB, free: 37.44 MB / 350.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.0002722/0.2271, allocations: 352.1 kB / 435.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.2271, allocations: 12.56 kB / 435.2 MB, free: 37.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.2272, allocations: 33.59 kB / 435.2 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.941e-05/0.2272, allocations: 8.844 kB / 435.3 MB, free: 37.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.865e-05/0.2273, allocations: 180.2 kB / 435.4 MB, free: 36.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.074e-06/0.2273, allocations: 3.25 kB / 435.4 MB, free: 36.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.2273, allocations: 3.312 kB / 435.4 MB, free: 36.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.846e-05/0.2274, allocations: 50.25 kB / 435.5 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.2274, allocations: 3.938 kB / 435.5 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.291e-06/0.2274, allocations: 0 / 435.5 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.2274, allocations: 0 / 435.5 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.295e-05/0.2275, allocations: 5.812 kB / 435.5 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000241/0.2277, allocations: 280.5 kB / 435.8 MB, free: 36.47 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.969e-05/0.2278, allocations: 21.2 kB / 435.8 MB, free: 36.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.385e-05/0.2278, allocations: 7.672 kB / 435.8 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/0.2278, allocations: 0 / 435.8 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.262e-05/0.2278, allocations: 33.47 kB / 435.8 MB, free: 36.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.2278, allocations: 4 kB / 435.8 MB, free: 36.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001114/0.2279, allocations: 53.77 kB / 435.9 MB, free: 36.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.89e-05/0.228, allocations: 51.41 kB / 435.9 MB, free: 36.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.085e-05/0.228, allocations: 118 kB / 436.1 MB, free: 36.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.701e-06/0.228, allocations: 28.8 kB / 436.1 MB, free: 36.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.311e-05/0.2281, allocations: 87.05 kB / 436.2 MB, free: 36.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.428e-06/0.2281, allocations: 11.75 kB / 436.2 MB, free: 36.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.2281, allocations: 19.45 kB / 436.2 MB, free: 36.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.833e-05/0.2281, allocations: 325.9 kB / 436.5 MB, free: 35.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.248e-05/0.2282, allocations: 7.125 kB / 436.5 MB, free: 35.7 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.706e-06/0.2282, allocations: 6.094 kB / 436.5 MB, free: 35.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.307e-05/0.2282, allocations: 14.8 kB / 436.5 MB, free: 35.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.2282, allocations: 0 / 436.5 MB, free: 35.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.114e-05/0.2283, allocations: 53.61 kB / 436.6 MB, free: 35.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/0.2283, allocations: 2.969 kB / 436.6 MB, free: 35.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/0.2283, allocations: 3.094 kB / 436.6 MB, free: 35.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.2283, allocations: 144 / 436.6 MB, free: 35.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.515e-05/0.2283, allocations: 6.875 kB / 436.6 MB, free: 35.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.2284, allocations: 0 / 436.6 MB, free: 35.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.713e-05/0.2284, allocations: 6.828 kB / 436.6 MB, free: 35.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/0.2284, allocations: 0 / 436.6 MB, free: 35.64 MB / 350.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 4.011e-05/0.2284, allocations: 124 kB / 436.7 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.2285, allocations: 3.906 kB / 436.7 MB, free: 35.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.032e-05/0.2285, allocations: 10.59 kB / 436.7 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.2285, allocations: 0 / 436.7 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2285, allocations: 4 kB / 436.8 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.2285, allocations: 4 kB / 436.8 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.2286, allocations: 165.1 kB / 436.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2286, allocations: 3.281 kB / 436.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.171e-05/0.2287, allocations: 2.75 kB / 436.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.2287, allocations: 0 / 436.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.2287, allocations: 6.906 kB / 436.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.2287, allocations: 0 / 436.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2287, allocations: 0 / 436.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.858e-05/0.2288, allocations: 148.6 kB / 437.1 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.2288, allocations: 84.42 kB / 437.2 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.2288, allocations: 3.938 kB / 437.2 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.685e-05/0.2289, allocations: 3.234 kB / 437.2 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.193e-05/0.2289, allocations: 6.719 kB / 437.2 MB, free: 35.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/0.2289, allocations: 0 / 437.2 MB, free: 35.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.81e-05/0.2289, allocations: 91.22 kB / 437.3 MB, free: 34.97 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2289, allocations: 288 / 437.3 MB, free: 34.97 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000196/0.2291, allocations: 5.375 kB / 437.3 MB, free: 34.97 MB / 350.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.0001797/0.2293, allocations: 0.6837 MB / 438 MB, free: 34.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.583e-05/0.2294, allocations: 15.88 kB / 438 MB, free: 34.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.2294, allocations: 0 / 438 MB, free: 34.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.448e-05/0.2294, allocations: 5.812 kB / 438 MB, free: 34.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.2297, allocations: 17.39 kB / 438 MB, free: 34.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006838/0.2304, allocations: 1.288 MB / 439.3 MB, free: 33.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.747e-05/0.2305, allocations: 0.6839 MB / 440 MB, free: 32.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.544e-05/0.2305, allocations: 7 kB / 440 MB, free: 32.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.2305, allocations: 14.31 kB / 440 MB, free: 32.34 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2305, allocations: 0 / 440 MB, free: 32.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00962/0.2402, allocations: 1.322 MB / 441.3 MB, free: 32.1 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000121/0.2403, allocations: 149.7 kB / 441.4 MB, free: 31.85 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/1.787, allocations: 2.938 kB / 441.5 MB, free: 31.85 MB / 350.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)