Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.SOPDT_overdamped.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.SOPDT_overdamped,fileNamePrefix="AES_AES_ProcessBlocks_SOPDT_overdamped",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.SOPDT_overdamped,fileNamePrefix="AES_AES_ProcessBlocks_SOPDT_overdamped",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.001205/0.001205, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001194/0.001194, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.23/1.23, allocations: 222.9 MB / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1791/0.1791, allocations: 22.36 MB / 312.4 MB, free: 12.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001244, allocations: 67.88 kB / 378.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2516, allocations: 54.94 MB / 433.3 MB, free: 38.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.002051/0.2537, allocations: 1.512 MB / 434.8 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006563/0.2544, allocations: 0.495 MB / 435.3 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.075e-05/0.2545, allocations: 0 / 435.3 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.2547, allocations: 19.39 kB / 435.3 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.2549, allocations: 25.39 kB / 435.3 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001679/0.255, allocations: 50.36 kB / 435.4 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.2552, allocations: 124.6 kB / 435.5 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.941e-05/0.2552, allocations: 17.25 kB / 435.5 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.976e-05/0.2553, allocations: 47.03 kB / 435.6 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.2554, allocations: 64.06 kB / 435.6 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.2555, allocations: 7.844 kB / 435.6 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.401e-05/0.2555, allocations: 5.594 kB / 435.6 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.247e-05/0.2555, allocations: 37.47 kB / 435.7 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.2556, allocations: 36.77 kB / 435.7 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.476e-05/0.2557, allocations: 81.89 kB / 435.8 MB, free: 37.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2557, allocations: 3.328 kB / 435.8 MB, free: 37.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2557, allocations: 0 / 435.8 MB, free: 37.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.2557, allocations: 0 / 435.8 MB, free: 37.18 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006621/0.2564, allocations: 446.1 kB / 436.2 MB, free: 36.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.2564, allocations: 8.594 kB / 436.2 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.799e-05/0.2564, allocations: 36.91 kB / 436.3 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.86e-05/0.2565, allocations: 14.59 kB / 436.3 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.2568, allocations: 235 kB / 436.5 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.405e-06/0.2568, allocations: 4.375 kB / 436.5 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.2568, allocations: 6 kB / 436.5 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.2569, allocations: 76.64 kB / 436.6 MB, free: 36.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2569, allocations: 3.906 kB / 436.6 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.257, allocations: 4 kB / 436.6 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.257, allocations: 2.875 kB / 436.6 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.347e-05/0.2571, allocations: 57.53 kB / 436.7 MB, free: 36.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004298/0.2575, allocations: 359.3 kB / 437 MB, free: 36.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.2576, allocations: 96.88 kB / 437.1 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.262e-05/0.2577, allocations: 33.34 kB / 437.1 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.2577, allocations: 0 / 437.1 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.276e-05/0.2577, allocations: 36.48 kB / 437.2 MB, free: 36.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 8.01e-07/0.2577, allocations: 0 / 437.2 MB, free: 36.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002032/0.2579, allocations: 130.5 kB / 437.3 MB, free: 35.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.94e-05/0.2579, allocations: 55.41 kB / 437.4 MB, free: 35.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.2582, allocations: 187.7 kB / 437.5 MB, free: 35.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.2582, allocations: 25.7 kB / 437.6 MB, free: 35.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.416e-05/0.2583, allocations: 109.2 kB / 437.7 MB, free: 35.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.2583, allocations: 29.81 kB / 437.7 MB, free: 35.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.2583, allocations: 19.06 kB / 437.7 MB, free: 35.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.891e-05/0.2584, allocations: 325 kB / 438 MB, free: 35.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.094e-05/0.2584, allocations: 35.47 kB / 438.1 MB, free: 35.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.666e-05/0.2584, allocations: 39.7 kB / 438.1 MB, free: 35.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.908e-05/0.2585, allocations: 69.73 kB / 438.2 MB, free: 35.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2585, allocations: 0 / 438.2 MB, free: 35.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001176/0.2587, allocations: 112.4 kB / 438.3 MB, free: 35.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/0.2587, allocations: 2.938 kB / 438.3 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.2587, allocations: 0 / 438.3 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.2587, allocations: 2.875 kB / 438.3 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.2589, allocations: 24.23 kB / 438.3 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.2589, allocations: 4 kB / 438.3 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.259, allocations: 15.94 kB / 438.3 MB, free: 35.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.259, allocations: 3.125 kB / 438.3 MB, free: 35.15 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 (8): * Single equations (assignments): 8 * 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 5.204e-05/0.2591, allocations: 127.5 kB / 438.5 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.2591, allocations: 7.188 kB / 438.5 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/0.2591, allocations: 18.72 kB / 438.5 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2591, allocations: 2.812 kB / 438.5 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2591, allocations: 0 / 438.5 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2592, allocations: 4 kB / 438.5 MB, free: 35.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.2595, allocations: 400.1 kB / 438.9 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2595, allocations: 0 / 438.9 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.076e-05/0.2596, allocations: 15.06 kB / 438.9 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2596, allocations: 2.906 kB / 438.9 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.2596, allocations: 0 / 438.9 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2596, allocations: 7.875 kB / 438.9 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2596, allocations: 0 / 438.9 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.2598, allocations: 238.4 kB / 439.2 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.2598, allocations: 85.86 kB / 439.2 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.2599, allocations: 0 / 439.2 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.26, allocations: 20.31 kB / 439.3 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/0.26, allocations: 3.281 kB / 439.3 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.26, allocations: 6.469 kB / 439.3 MB, free: 34.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002036/0.2603, allocations: 153.6 kB / 439.4 MB, free: 34.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2603, allocations: 0 / 439.4 MB, free: 34.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002099/0.2605, allocations: 17.72 kB / 439.4 MB, free: 34.28 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Pr.x_scaled[1],Pr.x_scaled[2]) * 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 (6): * Single equations (assignments): 6 * 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.0002752/0.2608, allocations: 0.7641 MB / 440.2 MB, free: 33.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001231/0.2609, allocations: 71.95 kB / 440.3 MB, free: 33.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2609, allocations: 2.781 kB / 440.3 MB, free: 33.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.968e-05/0.2609, allocations: 33.95 kB / 440.3 MB, free: 33.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.2612, allocations: 17.84 kB / 440.3 MB, free: 33.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.2628, allocations: 1.796 MB / 442.1 MB, free: 32.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.2629, allocations: 0.7076 MB / 442.8 MB, free: 31.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.029e-05/0.263, allocations: 23.05 kB / 442.8 MB, free: 31.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.231e-05/0.263, allocations: 28.14 kB / 442.9 MB, free: 31.43 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.263, allocations: 0 / 442.9 MB, free: 31.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01211/0.2751, allocations: 2.324 MB / 445.2 MB, free: 31.14 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001311/0.2753, allocations: 168.4 kB / 445.4 MB, free: 30.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/1.928, allocations: 0 / 445.4 MB, free: 30.88 MB / 350.1 MB (rm -f AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; mkfifo AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.SOPDT_overdamped.pipe >> ../files/AES_AES.ProcessBlocks.SOPDT_overdamped.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessBlocks_SOPDT_overdamped_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AES_AES_ProcessBlocks_SOPDT_overdamped.fmu > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1)