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.001692/0.001693, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.169/1.169, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1704/0.1704, allocations: 22.36 MB / 312.7 MB, free: 12.57 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.89 kB / 378.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2238, allocations: 54.94 MB / 433.8 MB, free: 38.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.001806/0.2256, allocations: 1.428 MB / 435.2 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000234/0.2259, allocations: 126.7 kB / 435.3 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.2259, allocations: 0 / 435.3 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.025e-05/0.2259, allocations: 3.938 kB / 435.3 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.409e-05/0.226, allocations: 7.875 kB / 435.3 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.2262, allocations: 26 kB / 435.3 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.778e-05/0.2263, allocations: 36.66 kB / 435.4 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.996e-05/0.2264, allocations: 15.55 kB / 435.4 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.81e-05/0.2264, allocations: 10.81 kB / 435.4 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.187e-05/0.2264, allocations: 17.19 kB / 435.4 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.2264, allocations: 0 / 435.4 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-06/0.2265, allocations: 2.844 kB / 435.4 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.2265, allocations: 10.67 kB / 435.4 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.992e-05/0.2265, allocations: 14.78 kB / 435.5 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.085e-05/0.2265, allocations: 20.2 kB / 435.5 MB, free: 37.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2266, allocations: 0 / 435.5 MB, free: 37.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2266, allocations: 0 / 435.5 MB, free: 37.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.2266, allocations: 0 / 435.5 MB, free: 37.68 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.0002543/0.2268, allocations: 360.5 kB / 435.8 MB, free: 37.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.2269, allocations: 8.562 kB / 435.8 MB, free: 37.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.846e-05/0.2269, allocations: 33.69 kB / 435.9 MB, free: 37.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.953e-05/0.2269, allocations: 7.688 kB / 435.9 MB, free: 37.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.227, allocations: 177.5 kB / 436 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.879e-06/0.227, allocations: 384 / 436 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.2271, allocations: 3.25 kB / 436.1 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.46e-05/0.2271, allocations: 48.44 kB / 436.1 MB, free: 37.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.2271, allocations: 3.938 kB / 436.1 MB, free: 37.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-06/0.2272, allocations: 4 kB / 436.1 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.2272, allocations: 0 / 436.1 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.142e-05/0.2272, allocations: 12.89 kB / 436.1 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002262/0.2274, allocations: 274.2 kB / 436.4 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.56e-05/0.2275, allocations: 25.98 kB / 436.4 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.2275, allocations: 22.61 kB / 436.4 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.32e-06/0.2275, allocations: 0 / 436.4 MB, free: 36.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.528e-06/0.2275, allocations: 30.56 kB / 436.5 MB, free: 36.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.2275, allocations: 3.938 kB / 436.5 MB, free: 36.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001112/0.2276, allocations: 48.16 kB / 436.5 MB, free: 36.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.624e-05/0.2277, allocations: 54.22 kB / 436.6 MB, free: 36.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.909e-05/0.2277, allocations: 120.7 kB / 436.7 MB, free: 36.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.939e-06/0.2277, allocations: 25.83 kB / 436.7 MB, free: 36.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/0.2278, allocations: 98.08 kB / 436.8 MB, free: 36.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.037e-06/0.2278, allocations: 10.66 kB / 436.8 MB, free: 36.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.268e-05/0.2278, allocations: 12.72 kB / 436.8 MB, free: 36.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.349e-05/0.2278, allocations: 322 kB / 437.1 MB, free: 35.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.2279, allocations: 2.844 kB / 437.1 MB, free: 35.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.405e-06/0.2279, allocations: 6.906 kB / 437.2 MB, free: 35.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.24e-05/0.2279, allocations: 17.42 kB / 437.2 MB, free: 35.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2279, allocations: 0 / 437.2 MB, free: 35.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.051e-05/0.228, allocations: 56.75 kB / 437.2 MB, free: 35.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.228, allocations: 6.469 kB / 437.2 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.228, allocations: 0 / 437.2 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.228, allocations: 0 / 437.2 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.545e-05/0.228, allocations: 12.95 kB / 437.2 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.2281, allocations: 0 / 437.2 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.463e-05/0.2281, allocations: 0 / 437.2 MB, free: 35.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-06/0.2281, allocations: 0 / 437.2 MB, free: 35.88 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 3.608e-05/0.2281, allocations: 121.4 kB / 437.4 MB, free: 35.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.2281, allocations: 11.72 kB / 437.4 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.576e-05/0.2282, allocations: 3.531 kB / 437.4 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.2282, allocations: 0 / 437.4 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.2282, allocations: 0 / 437.4 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.2282, allocations: 3.234 kB / 437.4 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.2283, allocations: 285.8 kB / 437.7 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.2283, allocations: 3.281 kB / 437.7 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.54e-05/0.2284, allocations: 2.906 kB / 437.7 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.2284, allocations: 2.844 kB / 437.7 MB, free: 35.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.2284, allocations: 4.031 kB / 437.7 MB, free: 35.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.2284, allocations: 384 / 437.7 MB, free: 35.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2284, allocations: 3.938 kB / 437.7 MB, free: 35.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.678e-05/0.2285, allocations: 141.2 kB / 437.8 MB, free: 35.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.64e-05/0.2285, allocations: 83.8 kB / 437.9 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.2285, allocations: 3.938 kB / 437.9 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.315e-05/0.2286, allocations: 0 / 437.9 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.424e-05/0.2286, allocations: 11.39 kB / 437.9 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.2286, allocations: 6.875 kB / 437.9 MB, free: 35.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.672e-05/0.2286, allocations: 95.73 kB / 438 MB, free: 35.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2286, allocations: 0 / 438 MB, free: 35.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001927/0.2288, allocations: 2.938 kB / 438 MB, free: 35.09 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.0001614/0.229, allocations: 0.6732 MB / 438.7 MB, free: 34.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.65e-05/0.2291, allocations: 20.05 kB / 438.7 MB, free: 34.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.2291, allocations: 0 / 438.7 MB, free: 34.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.317e-06/0.2291, allocations: 5.719 kB / 438.7 MB, free: 34.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.2293, allocations: 11.91 kB / 438.7 MB, free: 34.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006396/0.23, allocations: 1.283 MB / 440 MB, free: 33.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.523e-05/0.2301, allocations: 0.6849 MB / 440.7 MB, free: 32.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.537e-05/0.2301, allocations: 6.141 kB / 440.7 MB, free: 32.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.2301, allocations: 14.31 kB / 440.7 MB, free: 32.48 MB / 350.1 MB Notification: Performance of SimCode: time 1.9e-07/0.2301, allocations: 0 / 440.7 MB, free: 32.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.185/5.416, allocations: 1.37 MB / 442.1 MB, free: 32.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.341/13.76, allocations: 21.73 kB / 442.1 MB, free: 32.11 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)