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.001456/0.001456, allocations: 108 kB / 15.61 MB, free: 152 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.001724/0.001724, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.231/1.231, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1771/0.1771, allocations: 22.36 MB / 312.8 MB, free: 12.61 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 55.91 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2231, allocations: 54.94 MB / 433.8 MB, free: 38.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.002201/0.2254, allocations: 1.704 MB / 435.5 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007186/0.2261, allocations: 0.5909 MB / 436.1 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.085e-05/0.2262, allocations: 2.625 kB / 436.1 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.2264, allocations: 49.14 kB / 436.1 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.2266, allocations: 52.77 kB / 436.2 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.2268, allocations: 98.62 kB / 436.3 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.227, allocations: 284.9 kB / 436.5 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.529e-05/0.2271, allocations: 38.16 kB / 436.6 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.2272, allocations: 115.6 kB / 436.7 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.2274, allocations: 124 kB / 436.8 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.2274, allocations: 21.75 kB / 436.8 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.94e-05/0.2275, allocations: 23.12 kB / 436.9 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.16e-05/0.2275, allocations: 85.86 kB / 436.9 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.312e-05/0.2276, allocations: 83.47 kB / 437 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001446/0.2278, allocations: 219.3 kB / 437.2 MB, free: 36.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2278, allocations: 0 / 437.2 MB, free: 36.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2278, allocations: 0 / 437.2 MB, free: 36.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.2278, allocations: 0 / 437.2 MB, free: 36.59 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.001099/0.2289, allocations: 0.5817 MB / 437.8 MB, free: 36.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.2289, allocations: 8.531 kB / 437.8 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.173e-05/0.229, allocations: 45.25 kB / 437.9 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.033e-05/0.229, allocations: 21 kB / 437.9 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005279/0.2295, allocations: 337.2 kB / 438.2 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.2296, allocations: 9.781 kB / 438.2 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.2296, allocations: 17.62 kB / 438.3 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.2298, allocations: 135.7 kB / 438.4 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.2298, allocations: 0 / 438.4 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.2298, allocations: 3.938 kB / 438.4 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2298, allocations: 3 kB / 438.4 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.23, allocations: 137.1 kB / 438.5 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007043/0.2308, allocations: 0.5798 MB / 439.1 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.231, allocations: 146.4 kB / 439.2 MB, free: 35.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.843e-05/0.2311, allocations: 75.23 kB / 439.3 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.2311, allocations: 6.672 kB / 439.3 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.288e-05/0.2311, allocations: 30.56 kB / 439.4 MB, free: 35.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.2311, allocations: 0 / 439.4 MB, free: 35.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003982/0.2315, allocations: 264.9 kB / 439.6 MB, free: 35.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.913e-05/0.2316, allocations: 54.31 kB / 439.7 MB, free: 34.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005036/0.2321, allocations: 292.6 kB / 440 MB, free: 34.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.2321, allocations: 28.55 kB / 440 MB, free: 34.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.2321, allocations: 123.9 kB / 440.1 MB, free: 34.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.2322, allocations: 50.97 kB / 440.2 MB, free: 34.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.2322, allocations: 32.72 kB / 440.2 MB, free: 34.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.396e-05/0.2323, allocations: 335.2 kB / 440.5 MB, free: 34.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.2324, allocations: 76.8 kB / 440.6 MB, free: 34.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.589e-05/0.2325, allocations: 72.89 kB / 440.7 MB, free: 34.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.2327, allocations: 163.8 kB / 440.8 MB, free: 34.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2327, allocations: 0 / 440.8 MB, free: 34.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002676/0.233, allocations: 223.2 kB / 441 MB, free: 34.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.233, allocations: 13.08 kB / 441 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.233, allocations: 0 / 441 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.233, allocations: 0 / 441 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/0.2334, allocations: 50 kB / 441.1 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.2334, allocations: 0 / 441.1 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.2336, allocations: 29.08 kB / 441.1 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.2336, allocations: 6.531 kB / 441.1 MB, free: 34.03 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 7.742e-05/0.2337, allocations: 155.8 kB / 441.3 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.2338, allocations: 20.31 kB / 441.3 MB, free: 33.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.091e-05/0.2338, allocations: 30.33 kB / 441.3 MB, free: 33.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2338, allocations: 0 / 441.3 MB, free: 33.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2338, allocations: 2.906 kB / 441.3 MB, free: 33.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2338, allocations: 0 / 441.3 MB, free: 33.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.2341, allocations: 304 kB / 441.6 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2341, allocations: 0 / 441.6 MB, free: 33.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.2342, allocations: 27.27 kB / 441.7 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2342, allocations: 0 / 441.7 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.2343, allocations: 6.281 kB / 441.7 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2343, allocations: 4 kB / 441.7 MB, free: 33.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2343, allocations: 3.938 kB / 441.7 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.2347, allocations: 378.6 kB / 442 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.2347, allocations: 94.77 kB / 442.1 MB, free: 33.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.2348, allocations: 10.19 kB / 442.1 MB, free: 33.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/0.235, allocations: 37.39 kB / 442.2 MB, free: 33.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.2351, allocations: 14.27 kB / 442.2 MB, free: 33.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.2351, allocations: 4 kB / 442.2 MB, free: 33.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004248/0.2355, allocations: 233.2 kB / 442.4 MB, free: 33.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2355, allocations: 0 / 442.4 MB, free: 33.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.2358, allocations: 34.34 kB / 442.5 MB, free: 33.11 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.0005055/0.2363, allocations: 0.916 MB / 443.4 MB, free: 32.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002643/0.2366, allocations: 178.7 kB / 443.6 MB, free: 32.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2366, allocations: 0 / 443.6 MB, free: 32.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.2367, allocations: 83.62 kB / 443.6 MB, free: 32.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.237, allocations: 32.25 kB / 443.7 MB, free: 32.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/0.2401, allocations: 2.603 MB / 446.3 MB, free: 30.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.2402, allocations: 0.7504 MB / 447 MB, free: 29.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.324e-05/0.2403, allocations: 38.45 kB / 447.1 MB, free: 29.85 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.715e-05/0.2404, allocations: 55.52 kB / 447.1 MB, free: 29.8 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2404, allocations: 0 / 447.1 MB, free: 29.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9431/1.184, allocations: 4.244 MB / 451.4 MB, free: 29.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.507/9.691, allocations: 19.2 kB / 451.4 MB, free: 29.29 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)