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.00112/0.00112, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001122/0.001122, allocations: 193 kB / 16.25 MB, free: 6.633 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.173/1.173, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1624/0.1624, allocations: 22.36 MB / 312.4 MB, free: 12.62 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 59.91 kB / 378.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2084, allocations: 54.95 MB / 433.3 MB, free: 38.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.002289/0.2107, allocations: 1.755 MB / 435 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007435/0.2115, allocations: 0.5843 MB / 435.6 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.41e-05/0.2116, allocations: 2.5 kB / 435.6 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.2118, allocations: 35.75 kB / 435.7 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.212, allocations: 53.5 kB / 435.7 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.2122, allocations: 89.36 kB / 435.8 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.2125, allocations: 292 kB / 436.1 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.554e-05/0.2126, allocations: 37.72 kB / 436.1 MB, free: 36.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.2127, allocations: 112.7 kB / 436.2 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.2128, allocations: 142 kB / 436.4 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.304e-05/0.2129, allocations: 19.47 kB / 436.4 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.509e-05/0.2129, allocations: 22.38 kB / 436.4 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.401e-05/0.213, allocations: 72.53 kB / 436.5 MB, free: 36.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.846e-05/0.213, allocations: 85.75 kB / 436.6 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.2132, allocations: 218.6 kB / 436.8 MB, free: 36.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.2132, allocations: 0 / 436.8 MB, free: 36.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2132, allocations: 0 / 436.8 MB, free: 36.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.2132, allocations: 0 / 436.8 MB, free: 36.53 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.001097/0.2143, allocations: 0.5816 MB / 437.4 MB, free: 36.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.2144, allocations: 11.28 kB / 437.4 MB, free: 36.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.117e-05/0.2144, allocations: 45.16 kB / 437.4 MB, free: 36.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.2144, allocations: 23.56 kB / 437.4 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005072/0.215, allocations: 326.8 kB / 437.8 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.215, allocations: 9.438 kB / 437.8 MB, free: 35.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.215, allocations: 15.44 kB / 437.8 MB, free: 35.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.2152, allocations: 141 kB / 437.9 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2152, allocations: 4 kB / 437.9 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.2153, allocations: 6.906 kB / 437.9 MB, free: 35.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.2153, allocations: 0 / 437.9 MB, free: 35.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.2155, allocations: 129.3 kB / 438.1 MB, free: 35.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006998/0.2162, allocations: 0.5792 MB / 438.6 MB, free: 35.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.2164, allocations: 147.6 kB / 438.8 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.495e-05/0.2165, allocations: 74.06 kB / 438.8 MB, free: 35.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.2165, allocations: 2.906 kB / 438.9 MB, free: 35.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.2165, allocations: 38.56 kB / 438.9 MB, free: 35.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.2165, allocations: 3.938 kB / 438.9 MB, free: 35.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003807/0.2169, allocations: 252.4 kB / 439.1 MB, free: 34.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.89e-05/0.2169, allocations: 53.97 kB / 439.2 MB, free: 34.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004714/0.2174, allocations: 296.1 kB / 439.5 MB, free: 34.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.2175, allocations: 33.17 kB / 439.5 MB, free: 34.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/0.2175, allocations: 123.9 kB / 439.6 MB, free: 34.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.2175, allocations: 44.17 kB / 439.7 MB, free: 34.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.805e-05/0.2176, allocations: 32.28 kB / 439.7 MB, free: 34.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.463e-05/0.2177, allocations: 335.6 kB / 440 MB, free: 34.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.2178, allocations: 72.89 kB / 440.1 MB, free: 34.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.176e-05/0.2179, allocations: 75.98 kB / 440.2 MB, free: 34.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.2181, allocations: 175.1 kB / 440.4 MB, free: 34.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2181, allocations: 0 / 440.4 MB, free: 34.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000257/0.2183, allocations: 222 kB / 440.6 MB, free: 33.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.2184, allocations: 7.234 kB / 440.6 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.2184, allocations: 2.938 kB / 440.6 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.2184, allocations: 0 / 440.6 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.2187, allocations: 47.48 kB / 440.6 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.2187, allocations: 2.719 kB / 440.6 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.2189, allocations: 35.55 kB / 440.7 MB, free: 33.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.2189, allocations: 6.781 kB / 440.7 MB, free: 33.96 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.647e-05/0.219, allocations: 150.3 kB / 440.8 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/0.2191, allocations: 20.34 kB / 440.8 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.488e-05/0.2191, allocations: 26.34 kB / 440.9 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2191, allocations: 2.781 kB / 440.9 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2191, allocations: 4 kB / 440.9 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2191, allocations: 0 / 440.9 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.2194, allocations: 313.8 kB / 441.2 MB, free: 33.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2194, allocations: 4 kB / 441.2 MB, free: 33.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.2195, allocations: 26.75 kB / 441.2 MB, free: 33.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2196, allocations: 0 / 441.2 MB, free: 33.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.2196, allocations: 10.16 kB / 441.2 MB, free: 33.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2196, allocations: 0 / 441.2 MB, free: 33.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2196, allocations: 0 / 441.2 MB, free: 33.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.2199, allocations: 375.8 kB / 441.6 MB, free: 33.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.22, allocations: 104.9 kB / 441.7 MB, free: 33.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.22, allocations: 2.781 kB / 441.7 MB, free: 33.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.2203, allocations: 31.36 kB / 441.7 MB, free: 33.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.2203, allocations: 7.172 kB / 441.7 MB, free: 33.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.2204, allocations: 6.562 kB / 441.7 MB, free: 33.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004044/0.2208, allocations: 244.9 kB / 442 MB, free: 33.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2208, allocations: 0 / 442 MB, free: 33.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002398/0.221, allocations: 29.88 kB / 442 MB, free: 33.05 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.0004832/0.2215, allocations: 0.9033 MB / 442.9 MB, free: 32.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.2218, allocations: 180.9 kB / 443.1 MB, free: 32.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.2218, allocations: 0 / 443.1 MB, free: 32.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.2219, allocations: 85.75 kB / 443.2 MB, free: 32.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.2222, allocations: 21.12 kB / 443.2 MB, free: 32.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002925/0.2251, allocations: 2.654 MB / 445.8 MB, free: 30.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.2253, allocations: 0.7474 MB / 446.6 MB, free: 29.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.101e-05/0.2254, allocations: 34.41 kB / 446.6 MB, free: 29.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.506e-05/0.2255, allocations: 68.59 kB / 446.7 MB, free: 29.7 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2255, allocations: 0 / 446.7 MB, free: 29.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4317/0.6572, allocations: 4.151 MB / 450.8 MB, free: 29.3 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001163/0.6573, allocations: 186.3 kB / 451 MB, free: 29.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/2.316, allocations: 0 / 451 MB, free: 29.05 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)