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.001189/0.001188, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001377/0.001377, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1899/0.1899, allocations: 22.34 MB / 313.3 MB, free: 13.17 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003789, allocations: 8 kB / 379.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.363, allocations: 55.97 MB / 435.9 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.001496/0.3645, allocations: 1.343 MB / 437.2 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002775/0.3648, allocations: 144.1 kB / 437.4 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.284e-05/0.3649, allocations: 0 / 437.4 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.761e-05/0.3649, allocations: 3.938 kB / 437.4 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.535e-05/0.365, allocations: 22.94 kB / 437.4 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.3652, allocations: 27.81 kB / 437.4 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.3653, allocations: 56.05 kB / 437.5 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3654, allocations: 31.64 kB / 437.5 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.974e-05/0.3655, allocations: 14.16 kB / 437.5 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.287e-05/0.3655, allocations: 34.14 kB / 437.6 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.3656, allocations: 0 / 437.6 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.131e-05/0.3656, allocations: 3.969 kB / 437.6 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.145e-05/0.3656, allocations: 6.625 kB / 437.6 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.122e-05/0.3656, allocations: 40.61 kB / 437.6 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.448e-05/0.3657, allocations: 56.53 kB / 437.7 MB, free: 37.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.3657, allocations: 0 / 437.7 MB, free: 37.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3657, allocations: 0 / 437.7 MB, free: 37.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.3657, allocations: 0 / 437.7 MB, free: 37.07 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.000342/0.3661, allocations: 383.2 kB / 438 MB, free: 36.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3661, allocations: 8.625 kB / 438 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.702e-05/0.3661, allocations: 40.7 kB / 438.1 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.736e-05/0.3662, allocations: 6.812 kB / 438.1 MB, free: 36.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.3663, allocations: 200.2 kB / 438.3 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.3664, allocations: 4 kB / 438.3 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.3664, allocations: 5.156 kB / 438.3 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.3665, allocations: 79.91 kB / 438.4 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.3665, allocations: 3.984 kB / 438.4 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.3666, allocations: 4 kB / 438.4 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3666, allocations: 3.125 kB / 438.4 MB, free: 36.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.001e-05/0.3666, allocations: 31.94 kB / 438.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.367, allocations: 344 kB / 438.7 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.3673, allocations: 75.2 kB / 438.8 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.3673, allocations: 2.781 kB / 438.8 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.275e-05/0.3673, allocations: 30.56 kB / 438.9 MB, free: 35.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.103e-06/0.3673, allocations: 0 / 438.9 MB, free: 35.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001949/0.3675, allocations: 71.56 kB / 438.9 MB, free: 35.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.177e-05/0.3676, allocations: 58.25 kB / 439 MB, free: 35.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.366e-05/0.3676, allocations: 144.2 kB / 439.1 MB, free: 35.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.3677, allocations: 28.55 kB / 439.1 MB, free: 35.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.3677, allocations: 98.14 kB / 439.2 MB, free: 35.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.3677, allocations: 25.58 kB / 439.3 MB, free: 35.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.3677, allocations: 0 / 439.3 MB, free: 35.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.101e-05/0.3678, allocations: 325.1 kB / 439.6 MB, free: 35.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.656e-05/0.3678, allocations: 9.75 kB / 439.6 MB, free: 35.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.123e-05/0.3679, allocations: 16.78 kB / 439.6 MB, free: 35.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.931e-05/0.3679, allocations: 21.47 kB / 439.6 MB, free: 35.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3679, allocations: 0 / 439.6 MB, free: 35.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000106/0.368, allocations: 81.66 kB / 439.7 MB, free: 35.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.3681, allocations: 2.938 kB / 439.7 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3681, allocations: 64 / 439.7 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.3681, allocations: 6.844 kB / 439.7 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.506e-05/0.3681, allocations: 15.94 kB / 439.7 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3681, allocations: 0 / 439.7 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.958e-05/0.3682, allocations: 3 kB / 439.7 MB, free: 35.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.3682, allocations: 4 kB / 439.7 MB, free: 35.16 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.203e-05/0.3683, allocations: 119.4 kB / 439.9 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.3683, allocations: 6.969 kB / 439.9 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.3683, allocations: 14.58 kB / 439.9 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.3683, allocations: 0 / 439.9 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3683, allocations: 0 / 439.9 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3683, allocations: 0 / 439.9 MB, free: 35.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.3685, allocations: 204.7 kB / 440.1 MB, free: 34.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3685, allocations: 0 / 440.1 MB, free: 34.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.56e-05/0.3686, allocations: 12.53 kB / 440.1 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3686, allocations: 0 / 440.1 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.3686, allocations: 3.234 kB / 440.1 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3686, allocations: 2.875 kB / 440.1 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3686, allocations: 0 / 440.1 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.3688, allocations: 182.8 kB / 440.3 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.495e-05/0.3688, allocations: 91.88 kB / 440.4 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.3688, allocations: 4 kB / 440.4 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.22e-05/0.3689, allocations: 14.42 kB / 440.4 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.3689, allocations: 0 / 440.4 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.3689, allocations: 3.031 kB / 440.4 MB, free: 34.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.51e-05/0.369, allocations: 106 kB / 440.5 MB, free: 34.45 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.369, allocations: 0 / 440.5 MB, free: 34.45 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002143/0.3692, allocations: 19.5 kB / 440.5 MB, free: 34.44 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003063/0.3695, allocations: 0.7137 MB / 441.2 MB, free: 33.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.3696, allocations: 38.94 kB / 441.3 MB, free: 33.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3696, allocations: 0 / 441.3 MB, free: 33.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.793e-05/0.3697, allocations: 23.59 kB / 441.3 MB, free: 33.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.3699, allocations: 13.22 kB / 441.3 MB, free: 33.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007465/0.3707, allocations: 0.6101 MB / 441.9 MB, free: 33.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.3708, allocations: 0.7075 MB / 442.6 MB, free: 32.58 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.356e-05/0.3709, allocations: 14.98 kB / 442.6 MB, free: 32.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.107e-05/0.3709, allocations: 25.7 kB / 442.7 MB, free: 32.55 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3709, allocations: 0 / 442.7 MB, free: 32.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01026/0.3812, allocations: 1.822 MB / 444.5 MB, free: 32.37 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/0.3814, allocations: 154 kB / 444.6 MB, free: 32.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.075, allocations: 3.938 kB / 444.6 MB, free: 32.12 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_FOPDT_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_FOPDT.fmu > AES_AES.Devel_test_models.Test_FOPDT.pipe 2>&1) Environment - environmentSimulation: