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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 76.52 kB / 19.95 MB, free: 4.613 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 173.2 kB / 23.23 MB, free: 1.332 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8978/0.8978, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.06251/0.06251, allocations: 18.13 MB / 278.1 MB, free: 11.54 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 412.7 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.375e-05, allocations: 2.281 kB / 412.7 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.002553/0.002567, allocations: 1.639 MB / 414.3 MB, free: 15.16 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003433/0.00291, allocations: 155.5 kB / 414.5 MB, free: 15.01 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.074e-05/0.002981, allocations: 0 / 414.5 MB, free: 15.01 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.68e-05/0.003018, allocations: 7.875 kB / 414.5 MB, free: 15 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.003123, allocations: 19.8 kB / 414.5 MB, free: 14.98 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.003373, allocations: 47.89 kB / 414.6 MB, free: 14.93 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.00353, allocations: 95.69 kB / 414.7 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.003647, allocations: 23.98 kB / 414.7 MB, free: 14.82 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.689e-05/0.003694, allocations: 23.88 kB / 414.7 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.346e-05/0.003767, allocations: 31.83 kB / 414.7 MB, free: 14.76 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.003793, allocations: 8 kB / 414.7 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.003805, allocations: 4 kB / 414.7 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.949e-05/0.003825, allocations: 19.88 kB / 414.8 MB, free: 14.73 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.003856, allocations: 19.92 kB / 414.8 MB, free: 14.71 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.003979, allocations: 87.64 kB / 414.9 MB, free: 14.62 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.003981, allocations: 0 / 414.9 MB, free: 14.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.003981, allocations: 4 kB / 414.9 MB, free: 14.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.003985, allocations: 0 / 414.9 MB, free: 14.62 MB / 394.7 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.0004209/0.004406, allocations: 309.9 kB / 415.2 MB, free: 14.29 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.004447, allocations: 12.92 kB / 415.2 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.728e-05/0.004484, allocations: 38.73 kB / 415.2 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.004514, allocations: 8.891 kB / 415.2 MB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.004726, allocations: 145.6 kB / 415.4 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.00474, allocations: 4.375 kB / 415.4 MB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.004759, allocations: 4.375 kB / 415.4 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.00491, allocations: 70.23 kB / 415.5 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.004919, allocations: 192 / 415.5 MB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.004931, allocations: 4.375 kB / 415.5 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.004939, allocations: 8.125 kB / 415.5 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.816e-05/0.005007, allocations: 23.98 kB / 415.5 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.005427, allocations: 295.7 kB / 415.8 MB, free: 13.6 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.005706, allocations: 66.48 kB / 415.8 MB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.984e-05/0.005746, allocations: 20.92 kB / 415.9 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.005763, allocations: 0 / 415.9 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.005783, allocations: 34.56 kB / 415.9 MB, free: 13.46 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.005784, allocations: 0 / 415.9 MB, free: 13.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=4): time 0.000205/0.005989, allocations: 73.62 kB / 416 MB, free: 13.38 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.006023, allocations: 55.41 kB / 416 MB, free: 13.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003577/0.006381, allocations: 137.1 kB / 416.2 MB, free: 13.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.006392, allocations: 29.64 kB / 416.2 MB, free: 13.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.006443, allocations: 104 kB / 416.3 MB, free: 13.04 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.006469, allocations: 19.84 kB / 416.3 MB, free: 13.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.006506, allocations: 21.72 kB / 416.3 MB, free: 12.99 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.006609, allocations: 326.8 kB / 416.7 MB, free: 12.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.769e-05/0.006647, allocations: 11.98 kB / 416.7 MB, free: 12.65 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.967e-05/0.006677, allocations: 12 kB / 416.7 MB, free: 12.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.232e-05/0.006749, allocations: 36.84 kB / 416.7 MB, free: 12.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006751, allocations: 0 / 416.7 MB, free: 12.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001114/0.006862, allocations: 77.59 kB / 416.8 MB, free: 12.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.006876, allocations: 7.984 kB / 416.8 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.006881, allocations: 0 / 416.8 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.006893, allocations: 3.938 kB / 416.8 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.827e-05/0.006941, allocations: 15.94 kB / 416.8 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.006946, allocations: 0 / 416.8 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.631e-05/0.006973, allocations: 4 kB / 416.8 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.006978, allocations: 0 / 416.8 MB, free: 12.48 MB / 394.7 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 6.878e-05/0.007047, allocations: 117.8 kB / 416.9 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.007073, allocations: 7.953 kB / 416.9 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.913e-05/0.007102, allocations: 16.33 kB / 417 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.007104, allocations: 0 / 417 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.007108, allocations: 0 / 417 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.007111, allocations: 0 / 417 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.007282, allocations: 168.8 kB / 417.1 MB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.007283, allocations: 0 / 417.1 MB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.812e-05/0.007341, allocations: 7.984 kB / 417.1 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.007346, allocations: 3.984 kB / 417.1 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.007356, allocations: 4.188 kB / 417.1 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.007358, allocations: 4 kB / 417.1 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007359, allocations: 0 / 417.1 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.007553, allocations: 179.4 kB / 417.3 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.661e-05/0.00757, allocations: 7.984 kB / 417.3 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.007584, allocations: 0 / 417.3 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.968e-05/0.007643, allocations: 8.062 kB / 417.3 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.007681, allocations: 7.984 kB / 417.3 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.007684, allocations: 0 / 417.3 MB, free: 11.89 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.24e-05/0.007746, allocations: 107.3 kB / 417.4 MB, free: 11.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.007746, allocations: 0 / 417.4 MB, free: 11.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002671/0.008014, allocations: 15.89 kB / 417.5 MB, free: 11.77 MB / 394.7 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.0003828/0.008396, allocations: 0.7123 MB / 418.2 MB, free: 11.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.008514, allocations: 35.98 kB / 418.2 MB, free: 11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.008515, allocations: 0 / 418.2 MB, free: 11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.329e-05/0.008549, allocations: 16 kB / 418.2 MB, free: 10.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.008867, allocations: 24.56 kB / 418.2 MB, free: 10.96 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.01019, allocations: 1.5 MB / 419.7 MB, free: 9.383 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.736e-05/0.01026, allocations: 81.45 kB / 419.8 MB, free: 9.273 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.674e-05/0.0103, allocations: 15.77 kB / 419.8 MB, free: 9.258 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.01035, allocations: 24.5 kB / 419.9 MB, free: 9.234 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01035, allocations: 3.938 kB / 419.9 MB, free: 9.23 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.02535, allocations: 2.797 MB / 422.7 MB, free: 6.543 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.317/7.343, allocations: 6.562 kB / 422.7 MB, free: 6.539 MB / 394.7 MB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.231087408959866] Failed to read output from testmodel.py, exit status != 0: 7.423593587242067 7.433840791 7.427918547 Calling exit ...