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.0008413/0.0008412, allocations: 100 kB / 15.05 MB, free: 1.105 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.0008239/0.0008239, allocations: 177.3 kB / 15.94 MB, free: 228 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.201/1.201, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1706/0.1706, allocations: 22.34 MB / 313.3 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002583/0.0002583, allocations: 8 kB / 379.9 MB, free: 12.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2197, allocations: 55.97 MB / 435.9 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.0009939/0.2207, allocations: 1.139 MB / 437 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001882/0.2209, allocations: 111 kB / 437.1 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.942e-05/0.221, allocations: 3.062 kB / 437.1 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.106e-05/0.221, allocations: 3.234 kB / 437.1 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.723e-05/0.221, allocations: 7.922 kB / 437.1 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.2212, allocations: 17.28 kB / 437.2 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.749e-05/0.2213, allocations: 27.28 kB / 437.2 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.619e-05/0.2213, allocations: 11 kB / 437.2 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.762e-05/0.2214, allocations: 10.94 kB / 437.2 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.508e-05/0.2214, allocations: 9.375 kB / 437.2 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.2214, allocations: 0 / 437.2 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.844e-06/0.2214, allocations: 0 / 437.2 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.846e-06/0.2214, allocations: 13.89 kB / 437.2 MB, free: 37.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.465e-05/0.2215, allocations: 32.42 kB / 437.3 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 3.544e-05/0.2215, allocations: 11.91 kB / 437.3 MB, free: 37.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.2215, allocations: 7.938 kB / 437.3 MB, free: 37.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2215, allocations: 0 / 437.3 MB, free: 37.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.2215, allocations: 0 / 437.3 MB, free: 37.23 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.0002197/0.2217, allocations: 341.1 kB / 437.6 MB, free: 36.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.2218, allocations: 11.03 kB / 437.6 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.669e-05/0.2218, allocations: 38.41 kB / 437.7 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.697e-05/0.2218, allocations: 6.594 kB / 437.7 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.7e-05/0.222, allocations: 180.1 kB / 437.8 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-06/0.222, allocations: 6.75 kB / 437.8 MB, free: 36.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.222, allocations: 0 / 437.8 MB, free: 36.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.468e-05/0.2221, allocations: 45.08 kB / 437.9 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2221, allocations: 9.891 kB / 437.9 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.2221, allocations: 0 / 437.9 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.2221, allocations: 0 / 437.9 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.283e-05/0.2221, allocations: 13.25 kB / 437.9 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002312/0.2223, allocations: 265.6 kB / 438.2 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.607e-05/0.2224, allocations: 24.91 kB / 438.2 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.2224, allocations: 3.938 kB / 438.2 MB, free: 36.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.156e-05/0.2224, allocations: 34.5 kB / 438.2 MB, free: 36.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2224, allocations: 0 / 438.2 MB, free: 36.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001182/0.2225, allocations: 45.83 kB / 438.3 MB, free: 36.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.587e-05/0.2226, allocations: 51.41 kB / 438.3 MB, free: 36.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.093e-05/0.2226, allocations: 119.2 kB / 438.4 MB, free: 36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.58e-06/0.2226, allocations: 25.7 kB / 438.5 MB, free: 35.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.249e-05/0.2227, allocations: 94.09 kB / 438.6 MB, free: 35.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.487e-06/0.2227, allocations: 14.3 kB / 438.6 MB, free: 35.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/0.2227, allocations: 0 / 438.6 MB, free: 35.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.402e-05/0.2227, allocations: 318.1 kB / 438.9 MB, free: 35.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.065e-05/0.2227, allocations: 5.25 kB / 438.9 MB, free: 35.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.738e-06/0.2228, allocations: 14.3 kB / 438.9 MB, free: 35.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.497e-05/0.2228, allocations: 3 kB / 438.9 MB, free: 35.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2228, allocations: 4 kB / 438.9 MB, free: 35.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.912e-05/0.2228, allocations: 52.75 kB / 439 MB, free: 35.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.649e-06/0.2229, allocations: 5.844 kB / 439 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.2229, allocations: 384 / 439 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.2229, allocations: 3.938 kB / 439 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.269e-05/0.2229, allocations: 3.281 kB / 439 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.2229, allocations: 2.094 kB / 439 MB, free: 35.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.567e-05/0.223, allocations: 3.938 kB / 439 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.223, allocations: 3.328 kB / 439 MB, free: 35.48 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 3.562e-05/0.223, allocations: 112.7 kB / 439.1 MB, free: 35.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.223, allocations: 10.64 kB / 439.1 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.748e-05/0.223, allocations: 7.531 kB / 439.1 MB, free: 35.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.2231, allocations: 3 kB / 439.1 MB, free: 35.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2231, allocations: 0 / 439.1 MB, free: 35.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-06/0.2231, allocations: 3.938 kB / 439.1 MB, free: 35.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.524e-05/0.2232, allocations: 164.1 kB / 439.3 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.2232, allocations: 0 / 439.3 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.2232, allocations: 2.562 kB / 439.3 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2232, allocations: 3.953 kB / 439.3 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-06/0.2232, allocations: 10.62 kB / 439.3 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2232, allocations: 4 kB / 439.3 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2232, allocations: 0 / 439.3 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.074e-05/0.2233, allocations: 139.9 kB / 439.4 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.604e-05/0.2234, allocations: 79.89 kB / 439.5 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.2234, allocations: 7.281 kB / 439.5 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.466e-05/0.2234, allocations: 0 / 439.5 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/0.2234, allocations: 6.656 kB / 439.5 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.2234, allocations: 4 kB / 439.5 MB, free: 34.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.763e-05/0.2235, allocations: 94.66 kB / 439.6 MB, free: 34.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2235, allocations: 0 / 439.6 MB, free: 34.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001922/0.2237, allocations: 5.438 kB / 439.6 MB, free: 34.82 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.0001643/0.2239, allocations: 0.6734 MB / 440.3 MB, free: 34.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.977e-05/0.2239, allocations: 14.83 kB / 440.3 MB, free: 34.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2239, allocations: 0 / 440.3 MB, free: 34.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.737e-06/0.2239, allocations: 7.781 kB / 440.3 MB, free: 34.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.2241, allocations: 7.266 kB / 440.3 MB, free: 34.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004289/0.2246, allocations: 454.4 kB / 440.8 MB, free: 33.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.613e-05/0.2247, allocations: 0.6904 MB / 441.5 MB, free: 33.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.605e-05/0.2247, allocations: 9.938 kB / 441.5 MB, free: 33.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.2247, allocations: 11.44 kB / 441.5 MB, free: 33.04 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2247, allocations: 0 / 441.5 MB, free: 33.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7544/0.9791, allocations: 1.199 MB / 442.7 MB, free: 32.89 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.9794, allocations: 141.6 kB / 442.8 MB, free: 32.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.272/4.251, allocations: 0 / 442.8 MB, free: 32.66 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: