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.0008482/0.0008484, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004697/0.004697, allocations: 170.9 kB / 16.27 MB, free: 6.652 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.202/1.202, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.183/0.183, allocations: 22.35 MB / 313.8 MB, free: 13.06 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002781/0.0002781, allocations: 11.98 kB / 380.6 MB, free: 12.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2279, allocations: 55.98 MB / 436.6 MB, free: 38.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.001298/0.2292, allocations: 1.417 MB / 438 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006821/0.2299, allocations: 0.5782 MB / 438.6 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.024e-05/0.23, allocations: 6.844 kB / 438.6 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.2302, allocations: 30.72 kB / 438.6 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.2303, allocations: 48.8 kB / 438.7 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.2305, allocations: 92.25 kB / 438.8 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.2308, allocations: 264.3 kB / 439 MB, free: 36.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.377e-05/0.2309, allocations: 39.86 kB / 439.1 MB, free: 36.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.176e-05/0.231, allocations: 91.94 kB / 439.2 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.2311, allocations: 111.2 kB / 439.3 MB, free: 36.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.2311, allocations: 5.531 kB / 439.3 MB, free: 36.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.051e-05/0.2312, allocations: 8.375 kB / 439.3 MB, free: 36.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.804e-05/0.2312, allocations: 62.28 kB / 439.4 MB, free: 36.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.8e-05/0.2313, allocations: 100.7 kB / 439.5 MB, free: 36.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.2314, allocations: 201 kB / 439.6 MB, free: 36.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2314, allocations: 0 / 439.6 MB, free: 36.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2314, allocations: 0 / 439.6 MB, free: 36.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.2315, allocations: 0 / 439.6 MB, free: 36.34 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.001007/0.2325, allocations: 0.5473 MB / 440.2 MB, free: 35.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.2325, allocations: 16.72 kB / 440.2 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.2325, allocations: 45.61 kB / 440.3 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.2326, allocations: 26.12 kB / 440.3 MB, free: 35.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000514/0.2331, allocations: 331.8 kB / 440.6 MB, free: 35.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.2331, allocations: 11.44 kB / 440.6 MB, free: 35.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.2332, allocations: 21.94 kB / 440.6 MB, free: 35.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001973/0.2334, allocations: 138.5 kB / 440.8 MB, free: 35.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2334, allocations: 4 kB / 440.8 MB, free: 35.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.2334, allocations: 6.531 kB / 440.8 MB, free: 35.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2334, allocations: 2.812 kB / 440.8 MB, free: 35.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.2336, allocations: 127.7 kB / 440.9 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007216/0.2343, allocations: 0.5831 MB / 441.5 MB, free: 35.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.2346, allocations: 145.4 kB / 441.6 MB, free: 34.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.873e-05/0.2347, allocations: 79.72 kB / 441.7 MB, free: 34.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.2347, allocations: 2.812 kB / 441.7 MB, free: 34.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.116e-05/0.2347, allocations: 34.56 kB / 441.7 MB, free: 34.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.193e-06/0.2347, allocations: 3.938 kB / 441.8 MB, free: 34.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003981/0.2351, allocations: 261.4 kB / 442 MB, free: 34.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.642e-05/0.2351, allocations: 51.41 kB / 442.1 MB, free: 34.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004829/0.2356, allocations: 299.2 kB / 442.4 MB, free: 34.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.2357, allocations: 28.52 kB / 442.4 MB, free: 34.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.2357, allocations: 127.2 kB / 442.5 MB, free: 34.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.2357, allocations: 52.12 kB / 442.6 MB, free: 34.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.2358, allocations: 19.22 kB / 442.6 MB, free: 34.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.303e-05/0.2358, allocations: 335 kB / 442.9 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.2359, allocations: 77.67 kB / 443 MB, free: 34.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.766e-05/0.236, allocations: 75.58 kB / 443 MB, free: 33.99 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.2363, allocations: 179.7 kB / 443.2 MB, free: 33.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2363, allocations: 0 / 443.2 MB, free: 33.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000273/0.2365, allocations: 224 kB / 443.4 MB, free: 33.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.2366, allocations: 5.875 kB / 443.4 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2366, allocations: 0 / 443.4 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.2366, allocations: 0 / 443.4 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.2369, allocations: 54.66 kB / 443.5 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.2369, allocations: 0 / 443.5 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.2372, allocations: 35.48 kB / 443.5 MB, free: 33.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.2372, allocations: 6.844 kB / 443.5 MB, free: 33.79 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 (17): * Single equations (assignments): 17 * 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.823e-05/0.2373, allocations: 140.6 kB / 443.7 MB, free: 33.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.2373, allocations: 23.7 kB / 443.7 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.265e-05/0.2374, allocations: 29.84 kB / 443.7 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2374, allocations: 0 / 443.7 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2374, allocations: 0 / 443.7 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2374, allocations: 7.266 kB / 443.7 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.2376, allocations: 317.6 kB / 444.1 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2376, allocations: 2.969 kB / 444.1 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.2378, allocations: 28 kB / 444.1 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2378, allocations: 2.75 kB / 444.1 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.2378, allocations: 6.359 kB / 444.1 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2378, allocations: 0 / 444.1 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2378, allocations: 0 / 444.1 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003956/0.2382, allocations: 392.2 kB / 444.5 MB, free: 33.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.2383, allocations: 101.1 kB / 444.6 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.2383, allocations: 6.953 kB / 444.6 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.2386, allocations: 27.62 kB / 444.6 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.2386, allocations: 14.89 kB / 444.6 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.2387, allocations: 3.594 kB / 444.6 MB, free: 33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004189/0.2391, allocations: 241.1 kB / 444.9 MB, free: 32.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2391, allocations: 0 / 444.9 MB, free: 32.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.2393, allocations: 37.59 kB / 444.9 MB, free: 32.87 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 (13): * Single equations (assignments): 13 * 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.0005046/0.2399, allocations: 0.916 MB / 445.8 MB, free: 32.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002388/0.2401, allocations: 168.1 kB / 446 MB, free: 32.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2401, allocations: 2.531 kB / 446 MB, free: 32.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.2402, allocations: 87.02 kB / 446.1 MB, free: 32.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.2405, allocations: 23.17 kB / 446.1 MB, free: 32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.2435, allocations: 2.694 MB / 448.8 MB, free: 30.26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.2437, allocations: 0.7475 MB / 449.5 MB, free: 29.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.089e-05/0.2438, allocations: 46.72 kB / 449.6 MB, free: 29.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.494e-05/0.2439, allocations: 54.95 kB / 449.6 MB, free: 29.51 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2439, allocations: 0 / 449.6 MB, free: 29.51 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4181/0.662, allocations: 4.032 MB / 453.7 MB, free: 29.21 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/0.6623, allocations: 174.9 kB / 453.8 MB, free: 28.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/2.444, allocations: 3.719 kB / 453.8 MB, free: 28.96 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)