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.001204/0.001204, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001205/0.001205, allocations: 194.1 kB / 16.13 MB, free: 6.66 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.194/1.194, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1718/0.1718, allocations: 22.35 MB / 312.3 MB, free: 12.71 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 63.89 kB / 378.1 MB, free: 13.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2279, allocations: 54.94 MB / 433.1 MB, free: 38.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.001891/0.2298, allocations: 1.519 MB / 434.6 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005722/0.2304, allocations: 0.4993 MB / 435.1 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.899e-05/0.2305, allocations: 0 / 435.1 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.2307, allocations: 14.83 kB / 435.1 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.716e-05/0.2308, allocations: 26.66 kB / 435.1 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001278/0.2309, allocations: 46.09 kB / 435.2 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.231, allocations: 109.9 kB / 435.3 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.952e-05/0.2311, allocations: 27.25 kB / 435.3 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.221e-05/0.2312, allocations: 42.03 kB / 435.4 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.279e-05/0.2313, allocations: 58.61 kB / 435.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.2313, allocations: 3.625 kB / 435.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.613e-05/0.2313, allocations: 10.09 kB / 435.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.312e-05/0.2314, allocations: 30.16 kB / 435.5 MB, free: 37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.041e-05/0.2314, allocations: 36.2 kB / 435.5 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.673e-05/0.2315, allocations: 76.59 kB / 435.6 MB, free: 36.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2315, allocations: 3.75 kB / 435.6 MB, free: 36.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.2315, allocations: 3.938 kB / 435.6 MB, free: 36.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.2315, allocations: 0 / 435.6 MB, free: 36.95 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.000655/0.2322, allocations: 446.3 kB / 436 MB, free: 36.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.2322, allocations: 14.09 kB / 436 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/0.2323, allocations: 33.69 kB / 436.1 MB, free: 36.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.2323, allocations: 18.53 kB / 436.1 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.2326, allocations: 231.1 kB / 436.3 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-06/0.2326, allocations: 7.375 kB / 436.3 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.2327, allocations: 3.281 kB / 436.3 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.2328, allocations: 82.73 kB / 436.4 MB, free: 36.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.2328, allocations: 3.906 kB / 436.4 MB, free: 36.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.2328, allocations: 0 / 436.4 MB, free: 36.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2328, allocations: 2.938 kB / 436.4 MB, free: 36.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.49e-05/0.2329, allocations: 48.83 kB / 436.5 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.2333, allocations: 376.1 kB / 436.8 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.2334, allocations: 82.88 kB / 436.9 MB, free: 35.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.963e-05/0.2335, allocations: 32.95 kB / 436.9 MB, free: 35.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.2335, allocations: 2.875 kB / 436.9 MB, free: 35.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.276e-05/0.2335, allocations: 30.56 kB / 437 MB, free: 35.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.2335, allocations: 0 / 437 MB, free: 35.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000203/0.2337, allocations: 126.4 kB / 437.1 MB, free: 35.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.568e-05/0.2338, allocations: 51.41 kB / 437.1 MB, free: 35.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.234, allocations: 190.2 kB / 437.3 MB, free: 35.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.234, allocations: 32.86 kB / 437.4 MB, free: 35.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.404e-05/0.2341, allocations: 106.3 kB / 437.5 MB, free: 35.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.2341, allocations: 21.91 kB / 437.5 MB, free: 35.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.2341, allocations: 23.72 kB / 437.5 MB, free: 35.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.152e-05/0.2342, allocations: 329.1 kB / 437.8 MB, free: 35.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.189e-05/0.2342, allocations: 32.08 kB / 437.9 MB, free: 35.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.567e-05/0.2343, allocations: 26.77 kB / 437.9 MB, free: 35.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.119e-05/0.2344, allocations: 68.12 kB / 438 MB, free: 35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2344, allocations: 0 / 438 MB, free: 35 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001226/0.2345, allocations: 120.6 kB / 438.1 MB, free: 34.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.2345, allocations: 6.312 kB / 438.1 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-06/0.2345, allocations: 0 / 438.1 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.2345, allocations: 0 / 438.1 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.2347, allocations: 28.03 kB / 438.1 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2347, allocations: 3.422 kB / 438.1 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.2348, allocations: 11.78 kB / 438.1 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-06/0.2348, allocations: 0 / 438.1 MB, free: 34.93 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.209e-05/0.2349, allocations: 128 kB / 438.2 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.2349, allocations: 9.406 kB / 438.3 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.675e-05/0.235, allocations: 23.25 kB / 438.3 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.235, allocations: 0 / 438.3 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.235, allocations: 4 kB / 438.3 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.235, allocations: 3.469 kB / 438.3 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.2351, allocations: 203.3 kB / 438.5 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2351, allocations: 7.469 kB / 438.5 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.298e-05/0.2352, allocations: 8.625 kB / 438.5 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.2352, allocations: 0 / 438.5 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.2353, allocations: 10.91 kB / 438.5 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2353, allocations: 3.328 kB / 438.5 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2353, allocations: 0 / 438.5 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.2355, allocations: 236.6 kB / 438.7 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/0.2355, allocations: 87.14 kB / 438.8 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.2355, allocations: 0 / 438.8 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.2357, allocations: 14.98 kB / 438.8 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.561e-05/0.2357, allocations: 6.875 kB / 438.8 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.2357, allocations: 10.23 kB / 438.9 MB, free: 34.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002043/0.2359, allocations: 146.7 kB / 439 MB, free: 34.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2359, allocations: 0 / 439 MB, free: 34.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002102/0.2361, allocations: 22.03 kB / 439 MB, free: 34.18 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.0002815/0.2364, allocations: 0.7521 MB / 439.8 MB, free: 33.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.2366, allocations: 69.48 kB / 439.8 MB, free: 33.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2366, allocations: 4 kB / 439.8 MB, free: 33.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.474e-05/0.2366, allocations: 36.5 kB / 439.9 MB, free: 33.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.2369, allocations: 18.56 kB / 439.9 MB, free: 33.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.2385, allocations: 1.794 MB / 441.7 MB, free: 32.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.2386, allocations: 0.7077 MB / 442.4 MB, free: 31.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.922e-05/0.2387, allocations: 19.98 kB / 442.4 MB, free: 31.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.2387, allocations: 31.95 kB / 442.5 MB, free: 31.33 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2387, allocations: 0 / 442.5 MB, free: 31.33 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01029/0.249, allocations: 2.301 MB / 444.8 MB, free: 31.04 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000119/0.2491, allocations: 172.4 kB / 444.9 MB, free: 30.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/1.816, allocations: 3.172 kB / 444.9 MB, free: 30.78 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)