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.0008007/0.0008007, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001215/0.001215, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2661/0.2661, allocations: 22.35 MB / 313.4 MB, free: 13.13 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003455, allocations: 8 kB / 380 MB, free: 12.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3567, allocations: 55.97 MB / 436 MB, free: 38.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.001415/0.3582, allocations: 1.137 MB / 437.1 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002712/0.3585, allocations: 106.8 kB / 437.2 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.64e-05/0.3586, allocations: 0 / 437.2 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.3586, allocations: 3.141 kB / 437.2 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.411e-05/0.3587, allocations: 10.78 kB / 437.3 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002011/0.3589, allocations: 24.48 kB / 437.3 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.359, allocations: 30.39 kB / 437.3 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.189e-05/0.3591, allocations: 15.44 kB / 437.3 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.173e-05/0.3591, allocations: 10.91 kB / 437.3 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.147e-05/0.3592, allocations: 14.06 kB / 437.3 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.3592, allocations: 2.844 kB / 437.3 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.255e-06/0.3592, allocations: 0 / 437.3 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.778e-06/0.3592, allocations: 3.938 kB / 437.4 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.855e-05/0.3592, allocations: 32.7 kB / 437.4 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5e-05/0.3593, allocations: 17.16 kB / 437.4 MB, free: 37.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.3593, allocations: 0 / 437.4 MB, free: 37.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.3593, allocations: 0 / 437.4 MB, free: 37.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.3593, allocations: 0 / 437.4 MB, free: 37.37 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.0003141/0.3596, allocations: 339.7 kB / 437.7 MB, free: 37.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3597, allocations: 12.88 kB / 437.7 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.787e-05/0.3597, allocations: 37.44 kB / 437.8 MB, free: 36.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.145e-05/0.3598, allocations: 0 / 437.8 MB, free: 36.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.3599, allocations: 191.5 kB / 438 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.3599, allocations: 2.844 kB / 438 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.36, allocations: 2.844 kB / 438 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.223e-05/0.36, allocations: 42.8 kB / 438 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3601, allocations: 3.953 kB / 438 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.3601, allocations: 3.719 kB / 438 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3601, allocations: 3.938 kB / 438 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.478e-05/0.3601, allocations: 7 kB / 438 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.3604, allocations: 278.8 kB / 438.3 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.175e-05/0.3605, allocations: 17.55 kB / 438.3 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.744e-05/0.3605, allocations: 7.703 kB / 438.3 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.3605, allocations: 3.938 kB / 438.3 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.3606, allocations: 33.5 kB / 438.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3606, allocations: 0 / 438.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001425/0.3607, allocations: 49.59 kB / 438.4 MB, free: 36.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.3608, allocations: 51.41 kB / 438.5 MB, free: 36.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.151e-05/0.3608, allocations: 115.7 kB / 438.6 MB, free: 36.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.595e-06/0.3608, allocations: 25.7 kB / 438.6 MB, free: 36.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/0.3609, allocations: 94.12 kB / 438.7 MB, free: 36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.3609, allocations: 10.56 kB / 438.7 MB, free: 35.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.3609, allocations: 4 kB / 438.7 MB, free: 35.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.834e-05/0.361, allocations: 318.1 kB / 439 MB, free: 35.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.267e-05/0.361, allocations: 11.03 kB / 439 MB, free: 35.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.889e-06/0.361, allocations: 6.969 kB / 439 MB, free: 35.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.722e-05/0.361, allocations: 2.969 kB / 439 MB, free: 35.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.361, allocations: 2.906 kB / 439 MB, free: 35.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.716e-05/0.3611, allocations: 53.06 kB / 439.1 MB, free: 35.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.3611, allocations: 5.125 kB / 439.1 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3611, allocations: 0 / 439.1 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3611, allocations: 0 / 439.1 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.414e-05/0.3612, allocations: 3.906 kB / 439.1 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3612, allocations: 7.359 kB / 439.1 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.3612, allocations: 4 kB / 439.1 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.3612, allocations: 0 / 439.1 MB, free: 35.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/0.3613, allocations: 109.8 kB / 439.2 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.3613, allocations: 10.77 kB / 439.2 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.3614, allocations: 10.44 kB / 439.2 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.3614, allocations: 0 / 439.2 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3614, allocations: 384 / 439.2 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.3614, allocations: 0 / 439.2 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.3615, allocations: 167.8 kB / 439.4 MB, free: 35.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.3615, allocations: 0 / 439.4 MB, free: 35.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.424e-05/0.3616, allocations: 14.88 kB / 439.4 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.3616, allocations: 3.953 kB / 439.4 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.3616, allocations: 2.906 kB / 439.4 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3616, allocations: 0 / 439.4 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3616, allocations: 0 / 439.4 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.3617, allocations: 145.3 kB / 439.6 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.285e-05/0.3617, allocations: 80.3 kB / 439.6 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.3618, allocations: 11.36 kB / 439.7 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.835e-05/0.3618, allocations: 4 kB / 439.7 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.3618, allocations: 3.938 kB / 439.7 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.3618, allocations: 0 / 439.7 MB, free: 35.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.34e-05/0.3619, allocations: 92.11 kB / 439.8 MB, free: 34.94 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3619, allocations: 0 / 439.8 MB, free: 34.94 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002096/0.3621, allocations: 6.125 kB / 439.8 MB, free: 34.94 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002428/0.3623, allocations: 0.6759 MB / 440.4 MB, free: 34.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.17e-05/0.3624, allocations: 23.8 kB / 440.5 MB, free: 34.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3624, allocations: 0 / 440.5 MB, free: 34.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.029e-05/0.3625, allocations: 3 kB / 440.5 MB, free: 34.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.3628, allocations: 10.3 kB / 440.5 MB, free: 34.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005966/0.3634, allocations: 451.8 kB / 440.9 MB, free: 33.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.3636, allocations: 0.6843 MB / 441.6 MB, free: 33.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.812e-05/0.3636, allocations: 2.688 kB / 441.6 MB, free: 33.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.083e-05/0.3636, allocations: 18.31 kB / 441.6 MB, free: 33.17 MB / 350.1 MB Notification: Performance of SimCode: time 1.573e-06/0.3636, allocations: 0 / 441.6 MB, free: 33.17 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01201/0.3757, allocations: 1.209 MB / 442.8 MB, free: 33.01 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001293/0.3758, allocations: 153.6 kB / 443 MB, free: 32.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/2.098, allocations: 2.469 kB / 443 MB, free: 32.77 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/linux/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) Environment - environmentSimulation: