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.0008651/0.0008651, allocations: 90.83 kB / 15.36 MB, free: 0.7344 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.005587/0.005587, allocations: 169.3 kB / 16.26 MB, free: 6.68 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.382/1.382, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2214/0.2214, allocations: 22.33 MB / 313.8 MB, free: 13.04 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003354, allocations: 8 kB / 380.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2938, allocations: 55.98 MB / 436.6 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.001328/0.2952, allocations: 1.142 MB / 437.8 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003011/0.2955, allocations: 120.7 kB / 437.9 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.131e-05/0.2956, allocations: 2.938 kB / 437.9 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.2956, allocations: 3.938 kB / 437.9 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.325e-05/0.2957, allocations: 3.328 kB / 437.9 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.2959, allocations: 28.73 kB / 437.9 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.274e-05/0.296, allocations: 30.25 kB / 437.9 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.437e-05/0.2961, allocations: 8.906 kB / 437.9 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.425e-05/0.2961, allocations: 16.33 kB / 438 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.624e-05/0.2962, allocations: 6.625 kB / 438 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.2962, allocations: 6.406 kB / 438 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.2962, allocations: 0 / 438 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.2962, allocations: 11.34 kB / 438 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.288e-05/0.2962, allocations: 46.97 kB / 438 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.993e-05/0.2963, allocations: 20.72 kB / 438.1 MB, free: 37.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.2963, allocations: 0 / 438.1 MB, free: 37.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.011e-06/0.2963, allocations: 4 kB / 438.1 MB, free: 37.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.2963, allocations: 0 / 438.1 MB, free: 37.31 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.0002947/0.2966, allocations: 340.2 kB / 438.4 MB, free: 36.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.2967, allocations: 11.91 kB / 438.4 MB, free: 36.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.33e-05/0.2967, allocations: 41.5 kB / 438.4 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.215e-05/0.2968, allocations: 3.875 kB / 438.4 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.2969, allocations: 180.4 kB / 438.6 MB, free: 36.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.2969, allocations: 12.31 kB / 438.6 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.2969, allocations: 7.281 kB / 438.6 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.919e-05/0.297, allocations: 42.78 kB / 438.7 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.297, allocations: 3.938 kB / 438.7 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.2971, allocations: 4 kB / 438.7 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2971, allocations: 0 / 438.7 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.524e-05/0.2971, allocations: 7.625 kB / 438.7 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.2974, allocations: 276.2 kB / 439 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.696e-05/0.2974, allocations: 29.28 kB / 439 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.624e-05/0.2975, allocations: 7.828 kB / 439 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.2975, allocations: 0 / 439 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.181e-05/0.2975, allocations: 30.56 kB / 439 MB, free: 36.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.2975, allocations: 0 / 439 MB, free: 36.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001436/0.2977, allocations: 49.69 kB / 439.1 MB, free: 36.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.2977, allocations: 55.34 kB / 439.1 MB, free: 36.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.373e-05/0.2978, allocations: 119.9 kB / 439.3 MB, free: 36.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.2978, allocations: 25.7 kB / 439.3 MB, free: 36.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.294e-05/0.2978, allocations: 94.53 kB / 439.4 MB, free: 35.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.156e-05/0.2978, allocations: 11.92 kB / 439.4 MB, free: 35.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.858e-05/0.2978, allocations: 13.66 kB / 439.4 MB, free: 35.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.615e-05/0.2979, allocations: 325.3 kB / 439.7 MB, free: 35.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.282e-05/0.2979, allocations: 2.875 kB / 439.7 MB, free: 35.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.043e-05/0.2979, allocations: 6.969 kB / 439.7 MB, free: 35.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.746e-05/0.298, allocations: 18.61 kB / 439.7 MB, free: 35.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.298, allocations: 0 / 439.7 MB, free: 35.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.852e-05/0.298, allocations: 55.81 kB / 439.8 MB, free: 35.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.2981, allocations: 2.906 kB / 439.8 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2981, allocations: 2.781 kB / 439.8 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.2981, allocations: 0 / 439.8 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.166e-05/0.2981, allocations: 2.906 kB / 439.8 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2981, allocations: 3.328 kB / 439.8 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.2982, allocations: 2.969 kB / 439.8 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.2982, allocations: 0 / 439.8 MB, free: 35.52 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.976e-05/0.2982, allocations: 124.6 kB / 439.9 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.2983, allocations: 0 / 439.9 MB, free: 35.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.2983, allocations: 6.531 kB / 439.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2983, allocations: 0 / 439.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2983, allocations: 0 / 439.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.2983, allocations: 0 / 439.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.2984, allocations: 174 kB / 440.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2984, allocations: 0 / 440.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.093e-05/0.2985, allocations: 2.875 kB / 440.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.2985, allocations: 0 / 440.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.2985, allocations: 7.938 kB / 440.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.2985, allocations: 0 / 440.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2985, allocations: 2.938 kB / 440.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.2986, allocations: 146.7 kB / 440.3 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.828e-05/0.2986, allocations: 79.98 kB / 440.3 MB, free: 34.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.2987, allocations: 3.422 kB / 440.3 MB, free: 34.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.676e-05/0.2987, allocations: 7.938 kB / 440.4 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.494e-05/0.2987, allocations: 7.062 kB / 440.4 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.2988, allocations: 0 / 440.4 MB, free: 34.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.312e-05/0.2988, allocations: 96.69 kB / 440.5 MB, free: 34.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2988, allocations: 0 / 440.5 MB, free: 34.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002039/0.299, allocations: 8.938 kB / 440.5 MB, free: 34.84 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.0002195/0.2992, allocations: 0.6793 MB / 441.1 MB, free: 34.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.703e-05/0.2993, allocations: 15.08 kB / 441.2 MB, free: 34.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2993, allocations: 0 / 441.2 MB, free: 34.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.453e-05/0.2993, allocations: 9.5 kB / 441.2 MB, free: 34.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.2996, allocations: 12.83 kB / 441.2 MB, free: 34.15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007098/0.3003, allocations: 1.289 MB / 442.5 MB, free: 32.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.797e-05/0.3004, allocations: 0.69 MB / 443.2 MB, free: 32.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.642e-05/0.3005, allocations: 7.281 kB / 443.2 MB, free: 32.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.3005, allocations: 14.59 kB / 443.2 MB, free: 32.21 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3005, allocations: 0 / 443.2 MB, free: 32.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1944/0.4949, allocations: 1.256 MB / 444.4 MB, free: 32.05 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001445/0.4951, allocations: 149.7 kB / 444.6 MB, free: 31.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.1/2.595, allocations: 0 / 444.6 MB, free: 31.8 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)