Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_FOPDT.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_FOPDT,fileNamePrefix="AES_AES_Devel_test_models_Test_FOPDT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_FOPDT,fileNamePrefix="AES_AES_Devel_test_models_Test_FOPDT",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.001137/0.001137, 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.001218/0.001218, allocations: 194.9 kB / 16.53 MB, free: 6.699 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.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1907/0.1907, allocations: 22.36 MB / 312.7 MB, free: 12.54 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.88 kB / 378.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2618, allocations: 54.95 MB / 433.8 MB, free: 38.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.002714/0.2646, allocations: 1.649 MB / 435.4 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003451/0.265, allocations: 156.4 kB / 435.6 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.444e-05/0.265, allocations: 0 / 435.6 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.369e-05/0.2651, allocations: 7.875 kB / 435.6 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.544e-05/0.2652, allocations: 21.75 kB / 435.6 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.2654, allocations: 44.55 kB / 435.6 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.2655, allocations: 88.52 kB / 435.7 MB, free: 37.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.2657, allocations: 33.62 kB / 435.8 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.61e-05/0.2657, allocations: 35.27 kB / 435.8 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.835e-05/0.2658, allocations: 37.11 kB / 435.8 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.2658, allocations: 5.75 kB / 435.8 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.419e-05/0.2658, allocations: 7.688 kB / 435.8 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.2658, allocations: 14 kB / 435.9 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.2659, allocations: 35.52 kB / 435.9 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.648e-05/0.2659, allocations: 84.09 kB / 436 MB, free: 37.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.266, allocations: 3.094 kB / 436 MB, free: 37.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.266, allocations: 0 / 436 MB, free: 37.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.266, allocations: 0 / 436 MB, free: 37.3 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003435/0.2663, allocations: 387.1 kB / 436.4 MB, free: 36.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.2664, allocations: 7.562 kB / 436.4 MB, free: 36.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.864e-05/0.2664, allocations: 44.17 kB / 436.4 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.2664, allocations: 14.59 kB / 436.4 MB, free: 36.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.2666, allocations: 194.7 kB / 436.6 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.2666, allocations: 3.219 kB / 436.6 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.2666, allocations: 13.56 kB / 436.6 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.2668, allocations: 64.62 kB / 436.7 MB, free: 36.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2668, allocations: 7.266 kB / 436.7 MB, free: 36.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.2668, allocations: 10.91 kB / 436.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2668, allocations: 0 / 436.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.566e-05/0.2669, allocations: 20.89 kB / 436.7 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.2673, allocations: 354.2 kB / 437.1 MB, free: 36.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.2675, allocations: 65.33 kB / 437.1 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.282e-05/0.2676, allocations: 14.92 kB / 437.2 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.2676, allocations: 0 / 437.2 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.426e-05/0.2676, allocations: 37.22 kB / 437.2 MB, free: 36.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.2677, allocations: 0 / 437.2 MB, free: 36.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002033/0.2679, allocations: 83.97 kB / 437.3 MB, free: 36.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.2679, allocations: 51.41 kB / 437.3 MB, free: 36.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.334e-05/0.268, allocations: 142 kB / 437.5 MB, free: 35.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.268, allocations: 28.42 kB / 437.5 MB, free: 35.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.268, allocations: 98.36 kB / 437.6 MB, free: 35.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.2681, allocations: 18.62 kB / 437.6 MB, free: 35.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.2681, allocations: 16.47 kB / 437.6 MB, free: 35.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.865e-05/0.2681, allocations: 320.6 kB / 437.9 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.03e-05/0.2682, allocations: 20.14 kB / 437.9 MB, free: 35.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.023e-05/0.2682, allocations: 10.38 kB / 438 MB, free: 35.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.894e-05/0.2683, allocations: 41.39 kB / 438 MB, free: 35.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2683, allocations: 0 / 438 MB, free: 35.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001086/0.2684, allocations: 74.47 kB / 438.1 MB, free: 35.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.2684, allocations: 2.906 kB / 438.1 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2684, allocations: 0 / 438.1 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.2685, allocations: 2.719 kB / 438.1 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.106e-05/0.2685, allocations: 11.88 kB / 438.1 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.2685, allocations: 7.938 kB / 438.1 MB, free: 35.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.969e-05/0.2686, allocations: 0 / 438.1 MB, free: 35.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.2686, allocations: 3.031 kB / 438.1 MB, free: 35.35 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 (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 prepare postOptimizeDAE: time 4.883e-05/0.2686, allocations: 121.5 kB / 438.2 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.2687, allocations: 6.438 kB / 438.2 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.2687, allocations: 18.66 kB / 438.2 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2687, allocations: 0 / 438.2 MB, free: 35.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2687, allocations: 6.875 kB / 438.2 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2687, allocations: 0 / 438.2 MB, free: 35.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.2689, allocations: 197 kB / 438.4 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2689, allocations: 2.844 kB / 438.4 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.09e-05/0.2689, allocations: 5.906 kB / 438.5 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2689, allocations: 0 / 438.5 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.269, allocations: 0 / 438.5 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.269, allocations: 0 / 438.5 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.269, allocations: 3.938 kB / 438.5 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.2691, allocations: 185 kB / 438.6 MB, free: 34.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.2692, allocations: 85.02 kB / 438.7 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.2692, allocations: 2.719 kB / 438.7 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.286e-05/0.2693, allocations: 3.938 kB / 438.7 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.2693, allocations: 9.531 kB / 438.7 MB, free: 34.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.2693, allocations: 2.656 kB / 438.7 MB, free: 34.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.604e-05/0.2694, allocations: 114.5 kB / 438.8 MB, free: 34.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2694, allocations: 0 / 438.8 MB, free: 34.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002284/0.2696, allocations: 14.56 kB / 438.9 MB, free: 34.63 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.Pr.y,P2.Pr.y) * 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 (4): * Single equations (assignments): 4 * 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.0002902/0.2699, allocations: 0.7013 MB / 439.6 MB, free: 33.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001163/0.27, allocations: 40.06 kB / 439.6 MB, free: 33.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.27, allocations: 0 / 439.6 MB, free: 33.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.036e-05/0.2701, allocations: 15.72 kB / 439.6 MB, free: 33.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.2704, allocations: 24.03 kB / 439.6 MB, free: 33.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.2715, allocations: 1.508 MB / 441.1 MB, free: 32.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.874e-05/0.2716, allocations: 0.7033 MB / 441.9 MB, free: 31.92 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.077e-05/0.2716, allocations: 2.688 kB / 441.9 MB, free: 31.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.2716, allocations: 25.59 kB / 441.9 MB, free: 31.9 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2717, allocations: 0 / 441.9 MB, free: 31.9 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.2893, allocations: 2.061 MB / 443.9 MB, free: 31.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.313/7.603, allocations: 9.156 kB / 444 MB, free: 31.49 MB / 350.1 MB (rm -f AES_AES.Devel_test_models.Test_FOPDT.pipe ; mkfifo AES_AES.Devel_test_models.Test_FOPDT.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_FOPDT.pipe >> ../files/AES_AES.Devel_test_models.Test_FOPDT.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_FOPDT_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.03 AES_AES_Devel_test_models_Test_FOPDT.fmu > AES_AES.Devel_test_models.Test_FOPDT.pipe 2>&1)