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.001109/0.001109, 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.0009116/0.0009117, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.156/1.156, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1675/0.1675, allocations: 22.34 MB / 312.7 MB, free: 12.49 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 59.91 kB / 378.8 MB, free: 12.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2122, allocations: 54.95 MB / 433.8 MB, free: 38.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.001853/0.2141, allocations: 1.443 MB / 435.2 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005726/0.2146, allocations: 0.5059 MB / 435.7 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/0.2147, allocations: 0 / 435.7 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.2149, allocations: 20.44 kB / 435.7 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.718e-05/0.215, allocations: 32.44 kB / 435.8 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.2152, allocations: 38.33 kB / 435.8 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.2153, allocations: 130.6 kB / 435.9 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.145e-05/0.2154, allocations: 24.72 kB / 436 MB, free: 37.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.16e-05/0.2154, allocations: 47.38 kB / 436 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.61e-05/0.2155, allocations: 64.09 kB / 436.1 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.2156, allocations: 5.875 kB / 436.1 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.508e-05/0.2156, allocations: 8.156 kB / 436.1 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.266e-05/0.2156, allocations: 36.98 kB / 436.1 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.2157, allocations: 36.67 kB / 436.2 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.708e-05/0.2158, allocations: 76.83 kB / 436.2 MB, free: 37.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.2158, allocations: 4 kB / 436.2 MB, free: 37.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2158, allocations: 0 / 436.2 MB, free: 37.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.2158, allocations: 0 / 436.2 MB, free: 37.16 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.0006237/0.2164, allocations: 445.6 kB / 436.7 MB, free: 36.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.752e-05/0.2165, allocations: 15.31 kB / 436.7 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.2165, allocations: 30.75 kB / 436.7 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/0.2165, allocations: 17.78 kB / 436.7 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.2168, allocations: 234 kB / 437 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.2168, allocations: 7.281 kB / 437 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.2169, allocations: 3.25 kB / 437 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.217, allocations: 76.25 kB / 437 MB, free: 36.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.217, allocations: 7.188 kB / 437 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.217, allocations: 6.969 kB / 437.1 MB, free: 36.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.217, allocations: 3.938 kB / 437.1 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.726e-05/0.2171, allocations: 49.44 kB / 437.1 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004081/0.2175, allocations: 362 kB / 437.5 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.2176, allocations: 91.48 kB / 437.6 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.3e-05/0.2177, allocations: 38.06 kB / 437.6 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.2177, allocations: 7.359 kB / 437.6 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/0.2177, allocations: 37.09 kB / 437.6 MB, free: 36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.2177, allocations: 0 / 437.6 MB, free: 36 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002009/0.2179, allocations: 120.3 kB / 437.7 MB, free: 35.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.505e-05/0.2179, allocations: 54.19 kB / 437.8 MB, free: 35.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.2182, allocations: 194.5 kB / 438 MB, free: 35.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.2182, allocations: 25.7 kB / 438 MB, free: 35.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.274e-05/0.2183, allocations: 111.1 kB / 438.1 MB, free: 35.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.2183, allocations: 21.62 kB / 438.1 MB, free: 35.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.2183, allocations: 19.22 kB / 438.2 MB, free: 35.58 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.637e-05/0.2183, allocations: 331.5 kB / 438.5 MB, free: 35.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.014e-05/0.2184, allocations: 28.33 kB / 438.5 MB, free: 35.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.498e-05/0.2184, allocations: 38.78 kB / 438.6 MB, free: 35.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.847e-05/0.2185, allocations: 66.48 kB / 438.6 MB, free: 35.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2185, allocations: 0 / 438.6 MB, free: 35.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001187/0.2186, allocations: 121.6 kB / 438.7 MB, free: 35.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.2187, allocations: 7.594 kB / 438.7 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.2187, allocations: 0 / 438.7 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.2187, allocations: 0 / 438.7 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.2188, allocations: 25.98 kB / 438.8 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.2189, allocations: 3.031 kB / 438.8 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.219, allocations: 16.02 kB / 438.8 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.219, allocations: 2.562 kB / 438.8 MB, free: 35.13 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.039e-05/0.219, allocations: 130.2 kB / 438.9 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.2191, allocations: 6.844 kB / 438.9 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.117e-05/0.2191, allocations: 15.5 kB / 438.9 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.2191, allocations: 0 / 438.9 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.2191, allocations: 2.875 kB / 438.9 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.2191, allocations: 3.141 kB / 438.9 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.2194, allocations: 405.1 kB / 439.3 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2195, allocations: 0 / 439.3 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.525e-05/0.2195, allocations: 14.14 kB / 439.4 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2195, allocations: 0 / 439.4 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.2196, allocations: 0 / 439.4 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2196, allocations: 6.781 kB / 439.4 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2196, allocations: 320 / 439.4 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.2197, allocations: 242.5 kB / 439.6 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.457e-05/0.2198, allocations: 83.67 kB / 439.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.2198, allocations: 5.594 kB / 439.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.2199, allocations: 17.75 kB / 439.7 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.22, allocations: 7.172 kB / 439.7 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.22, allocations: 0 / 439.7 MB, free: 34.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002011/0.2202, allocations: 148.3 kB / 439.9 MB, free: 34.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2202, allocations: 4.062 kB / 439.9 MB, free: 34.26 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002076/0.2204, allocations: 15.16 kB / 439.9 MB, free: 34.26 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.000256/0.2207, allocations: 0.7596 MB / 440.6 MB, free: 33.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001195/0.2208, allocations: 69.28 kB / 440.7 MB, free: 33.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2208, allocations: 0 / 440.7 MB, free: 33.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.906e-05/0.2208, allocations: 42.17 kB / 440.7 MB, free: 33.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.2211, allocations: 20.42 kB / 440.8 MB, free: 33.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.2226, allocations: 1.778 MB / 442.5 MB, free: 32.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.928e-05/0.2227, allocations: 0.7022 MB / 443.2 MB, free: 31.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.437e-05/0.2228, allocations: 20.44 kB / 443.3 MB, free: 31.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.2228, allocations: 25.75 kB / 443.3 MB, free: 31.43 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2229, allocations: 4 kB / 443.3 MB, free: 31.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.931/3.154, allocations: 2.392 MB / 445.7 MB, free: 31.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.302/11.46, allocations: 17.58 kB / 445.7 MB, free: 31.02 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)