Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_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.Devel_test_models.Test_SOPDT_overdamped,fileNamePrefix="AES_AES_Devel_test_models_Test_SOPDT_overdamped",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SOPDT_overdamped,fileNamePrefix="AES_AES_Devel_test_models_Test_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.001591/0.00159, allocations: 109.4 kB / 15.69 MB, free: 128 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.001584/0.001584, allocations: 188 kB / 16.62 MB, free: 6.582 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.373/1.373, allocations: 222.9 MB / 240.3 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2017/0.2017, allocations: 22.36 MB / 312.8 MB, free: 12.48 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 63.91 kB / 379 MB, free: 12.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3302, allocations: 54.95 MB / 433.9 MB, free: 38.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.002639/0.3329, allocations: 1.703 MB / 435.6 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009882/0.3339, allocations: 0.5876 MB / 436.2 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.402e-05/0.334, allocations: 6.594 kB / 436.2 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.3343, allocations: 41 kB / 436.3 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.3344, allocations: 62.16 kB / 436.3 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.3347, allocations: 95.03 kB / 436.4 MB, free: 37.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002633/0.335, allocations: 287.8 kB / 436.7 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.3351, allocations: 42.81 kB / 436.7 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.3352, allocations: 110.4 kB / 436.9 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.3354, allocations: 127.9 kB / 437 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.3356, allocations: 21.72 kB / 437 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.724e-05/0.3357, allocations: 20.75 kB / 437 MB, free: 36.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.3358, allocations: 83.53 kB / 437.1 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.137e-05/0.3359, allocations: 83.55 kB / 437.2 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.3361, allocations: 218 kB / 437.4 MB, free: 36.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3361, allocations: 6.812 kB / 437.4 MB, free: 36.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3361, allocations: 0 / 437.4 MB, free: 36.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.3361, allocations: 0 / 437.4 MB, free: 36.74 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001147/0.3373, allocations: 0.5826 MB / 438 MB, free: 36.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.3373, allocations: 8.406 kB / 438 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.982e-05/0.3374, allocations: 41.2 kB / 438 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.714e-05/0.3374, allocations: 23.75 kB / 438.1 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005642/0.338, allocations: 329.8 kB / 438.4 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.973e-05/0.3381, allocations: 18.58 kB / 438.4 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-05/0.3382, allocations: 16.75 kB / 438.4 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.3384, allocations: 133.5 kB / 438.5 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3384, allocations: 0 / 438.5 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.3384, allocations: 6.531 kB / 438.6 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.3385, allocations: 3.031 kB / 438.6 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/0.3387, allocations: 124.7 kB / 438.7 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007485/0.3394, allocations: 0.5755 MB / 439.3 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.3396, allocations: 148.6 kB / 439.4 MB, free: 35.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.3398, allocations: 77.05 kB / 439.5 MB, free: 35.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.3398, allocations: 6.844 kB / 439.5 MB, free: 35.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.3398, allocations: 34.78 kB / 439.5 MB, free: 35.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/0.3398, allocations: 3.938 kB / 439.5 MB, free: 35.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004533/0.3403, allocations: 250.2 kB / 439.8 MB, free: 35.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.3404, allocations: 51.41 kB / 439.8 MB, free: 35.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005093/0.3409, allocations: 296.9 kB / 440.1 MB, free: 34.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.3409, allocations: 29.7 kB / 440.1 MB, free: 34.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.341, allocations: 128.1 kB / 440.3 MB, free: 34.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.341, allocations: 48.5 kB / 440.3 MB, free: 34.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.3411, allocations: 32.27 kB / 440.3 MB, free: 34.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.865e-05/0.3411, allocations: 335 kB / 440.7 MB, free: 34.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.3413, allocations: 86.09 kB / 440.7 MB, free: 34.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.909e-05/0.3414, allocations: 74.94 kB / 440.8 MB, free: 34.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.3416, allocations: 170.1 kB / 441 MB, free: 34.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3416, allocations: 0 / 441 MB, free: 34.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002834/0.3419, allocations: 217.4 kB / 441.2 MB, free: 34.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3419, allocations: 2.906 kB / 441.2 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3419, allocations: 0 / 441.2 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3419, allocations: 10.25 kB / 441.2 MB, free: 34.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.3423, allocations: 51.19 kB / 441.3 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3423, allocations: 6.875 kB / 441.3 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.3425, allocations: 27.89 kB / 441.3 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.3426, allocations: 6.75 kB / 441.3 MB, free: 34.18 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 (16): * Single equations (assignments): 16 * 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 8.432e-05/0.3427, allocations: 148 kB / 441.4 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.3427, allocations: 20.28 kB / 441.5 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.461e-05/0.3428, allocations: 30.38 kB / 441.5 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3428, allocations: 0 / 441.5 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3428, allocations: 4 kB / 441.5 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3428, allocations: 0 / 441.5 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.3431, allocations: 299.6 kB / 441.8 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3431, allocations: 0 / 441.8 MB, free: 33.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.3433, allocations: 34.42 kB / 441.8 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3433, allocations: 0 / 441.8 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.3433, allocations: 2.844 kB / 441.8 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3433, allocations: 3.984 kB / 441.8 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3433, allocations: 0 / 441.8 MB, free: 33.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004173/0.3437, allocations: 390.2 kB / 442.2 MB, free: 33.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.3438, allocations: 98.06 kB / 442.3 MB, free: 33.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.3438, allocations: 6.875 kB / 442.3 MB, free: 33.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.3441, allocations: 27.02 kB / 442.3 MB, free: 33.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.3442, allocations: 13.59 kB / 442.4 MB, free: 33.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.3442, allocations: 3 kB / 442.4 MB, free: 33.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000425/0.3446, allocations: 241.4 kB / 442.6 MB, free: 33.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3446, allocations: 0 / 442.6 MB, free: 33.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000319/0.3449, allocations: 32.97 kB / 442.6 MB, free: 33.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P1.Pr.x_scaled[1],P1.Pr.x_scaled[2],P2.Pr.x_scaled[1],P2.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 (12): * Single equations (assignments): 12 * 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.000574/0.3455, allocations: 0.9119 MB / 443.5 MB, free: 32.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002784/0.3458, allocations: 160.3 kB / 443.7 MB, free: 32.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3458, allocations: 3.938 kB / 443.7 MB, free: 32.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.3459, allocations: 83.78 kB / 443.8 MB, free: 32.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.3463, allocations: 29.27 kB / 443.8 MB, free: 32.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003308/0.3496, allocations: 2.615 MB / 446.4 MB, free: 30.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/0.3498, allocations: 0.7425 MB / 447.2 MB, free: 30.03 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.97e-05/0.3499, allocations: 45.83 kB / 447.2 MB, free: 30.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.35, allocations: 55.44 kB / 447.3 MB, free: 29.98 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.35, allocations: 0 / 447.3 MB, free: 29.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/0.3706, allocations: 4.249 MB / 451.5 MB, free: 29.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.671/8.042, allocations: 14.64 kB / 451.5 MB, free: 29.46 MB / 350.1 MB (rm -f AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; mkfifo AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe >> ../files/AES_AES.Devel_test_models.Test_SOPDT_overdamped.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_SOPDT_overdamped_fmu --startTime=0 --stopTime=25 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_SOPDT_overdamped.fmu > AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe 2>&1)