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.001329/0.001329, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001187/0.001187, allocations: 188.8 kB / 16.25 MB, free: 6.633 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.218/1.218, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1789/0.1789, allocations: 22.36 MB / 312.4 MB, free: 12.66 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 63.89 kB / 378.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2517, allocations: 54.94 MB / 433.3 MB, free: 38.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.001873/0.2537, allocations: 1.473 MB / 434.8 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002286/0.2539, allocations: 118.5 kB / 434.9 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.819e-05/0.254, allocations: 4 kB / 434.9 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/0.254, allocations: 3.938 kB / 434.9 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.808e-05/0.2541, allocations: 7.984 kB / 434.9 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.2542, allocations: 18.25 kB / 434.9 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.672e-05/0.2543, allocations: 29.55 kB / 434.9 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.754e-05/0.2544, allocations: 19.22 kB / 435 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.795e-05/0.2544, allocations: 13.62 kB / 435 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.307e-05/0.2545, allocations: 17.86 kB / 435 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.2545, allocations: 6.844 kB / 435 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.015e-06/0.2545, allocations: 0 / 435 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.2545, allocations: 10.28 kB / 435 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.874e-05/0.2545, allocations: 14.78 kB / 435 MB, free: 37.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.447e-05/0.2546, allocations: 26.33 kB / 435 MB, free: 37.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2546, allocations: 0 / 435 MB, free: 37.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2546, allocations: 0 / 435 MB, free: 37.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.2546, allocations: 0 / 435 MB, free: 37.62 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.0002598/0.2549, allocations: 348.1 kB / 435.4 MB, free: 37.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.2549, allocations: 12.81 kB / 435.4 MB, free: 37.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.364e-05/0.255, allocations: 37.66 kB / 435.4 MB, free: 37.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.988e-05/0.255, allocations: 11.69 kB / 435.4 MB, free: 37.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.2551, allocations: 181.5 kB / 435.6 MB, free: 36.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-06/0.2551, allocations: 384 / 435.6 MB, free: 36.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.2551, allocations: 3.656 kB / 435.6 MB, free: 36.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.812e-05/0.2552, allocations: 39.73 kB / 435.7 MB, free: 36.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.2552, allocations: 3.938 kB / 435.7 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.2552, allocations: 4 kB / 435.7 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2552, allocations: 2.688 kB / 435.7 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.161e-05/0.2553, allocations: 13.27 kB / 435.7 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002364/0.2555, allocations: 271.9 kB / 436 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.041e-05/0.2556, allocations: 23.95 kB / 436 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.827e-05/0.2556, allocations: 10.11 kB / 436 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.2556, allocations: 3.469 kB / 436 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.161e-05/0.2556, allocations: 38.56 kB / 436 MB, free: 36.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.2556, allocations: 0 / 436 MB, free: 36.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.000109/0.2557, allocations: 50.8 kB / 436.1 MB, free: 36.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.645e-05/0.2558, allocations: 51.41 kB / 436.1 MB, free: 36.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.447e-05/0.2558, allocations: 118.8 kB / 436.2 MB, free: 36.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.761e-06/0.2558, allocations: 25.7 kB / 436.3 MB, free: 36.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.329e-05/0.2559, allocations: 94.7 kB / 436.4 MB, free: 36.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.257e-06/0.2559, allocations: 19.33 kB / 436.4 MB, free: 36.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/0.2559, allocations: 9.719 kB / 436.4 MB, free: 36.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.909e-05/0.2559, allocations: 322.7 kB / 436.7 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.199e-05/0.256, allocations: 0 / 436.7 MB, free: 35.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.668e-06/0.256, allocations: 10.77 kB / 436.7 MB, free: 35.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.408e-05/0.256, allocations: 20.7 kB / 436.7 MB, free: 35.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.256, allocations: 0 / 436.7 MB, free: 35.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.952e-05/0.2561, allocations: 44.02 kB / 436.8 MB, free: 35.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.2561, allocations: 6.594 kB / 436.8 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.2561, allocations: 4 kB / 436.8 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.2561, allocations: 0 / 436.8 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.62e-05/0.2561, allocations: 5.469 kB / 436.8 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.2562, allocations: 3.938 kB / 436.8 MB, free: 35.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.584e-05/0.2562, allocations: 0 / 436.8 MB, free: 35.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.2562, allocations: 3.281 kB / 436.8 MB, free: 35.83 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.887e-05/0.2562, allocations: 121 kB / 436.9 MB, free: 35.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.2563, allocations: 10.31 kB / 436.9 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.63e-05/0.2563, allocations: 3.672 kB / 436.9 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2563, allocations: 10.55 kB / 436.9 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2563, allocations: 0 / 436.9 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.2563, allocations: 0 / 436.9 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.2564, allocations: 285.1 kB / 437.2 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2565, allocations: 0 / 437.2 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.962e-05/0.2565, allocations: 6.969 kB / 437.2 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2565, allocations: 0 / 437.2 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.2565, allocations: 2.344 kB / 437.2 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2565, allocations: 3.328 kB / 437.2 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2565, allocations: 7.969 kB / 437.2 MB, free: 35.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.306e-05/0.2566, allocations: 142.2 kB / 437.4 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.2566, allocations: 85.02 kB / 437.5 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.2567, allocations: 2.656 kB / 437.5 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.806e-05/0.2567, allocations: 0 / 437.5 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.937e-06/0.2567, allocations: 7.875 kB / 437.5 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.2567, allocations: 0 / 437.5 MB, free: 35.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.784e-05/0.2568, allocations: 95.83 kB / 437.6 MB, free: 35.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2568, allocations: 0 / 437.6 MB, free: 35.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001974/0.257, allocations: 6.719 kB / 437.6 MB, free: 35.04 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.0001775/0.2571, allocations: 0.6789 MB / 438.3 MB, free: 34.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 5.722e-05/0.2572, allocations: 19.72 kB / 438.3 MB, free: 34.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2572, allocations: 0 / 438.3 MB, free: 34.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.678e-06/0.2572, allocations: 5.219 kB / 438.3 MB, free: 34.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.2575, allocations: 19.08 kB / 438.3 MB, free: 34.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006777/0.2582, allocations: 1.3 MB / 439.6 MB, free: 33.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.556e-05/0.2583, allocations: 0.6896 MB / 440.3 MB, free: 32.42 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.72e-05/0.2583, allocations: 3.234 kB / 440.3 MB, free: 32.42 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.2583, allocations: 15.25 kB / 440.3 MB, free: 32.41 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2583, allocations: 0 / 440.3 MB, free: 32.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01046/0.2688, allocations: 1.291 MB / 441.6 MB, free: 32.17 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000118/0.2689, allocations: 154.3 kB / 441.7 MB, free: 31.92 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/1.88, allocations: 0 / 441.7 MB, free: 31.92 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)