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.004592/0.004592, allocations: 102.2 kB / 15.73 MB, free: 6.008 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.001211/0.001211, allocations: 188.6 kB / 16.67 MB, free: 5.926 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1015/0.1015, allocations: 22.34 MB / 312.9 MB, free: 8.844 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 72.08 kB / 434.4 MB, free: 14.32 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09441/0.0963, allocations: 54.95 MB / 489.4 MB, free: 7.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.002753/0.09909, allocations: 1.65 MB / 491 MB, free: 5.656 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000378/0.09948, allocations: 159.5 kB / 491.2 MB, free: 5.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.361e-05/0.09956, allocations: 3.938 kB / 491.2 MB, free: 5.496 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.597e-05/0.0996, allocations: 7.922 kB / 491.2 MB, free: 5.488 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.998e-05/0.0997, allocations: 19.75 kB / 491.2 MB, free: 5.469 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.09994, allocations: 47.88 kB / 491.3 MB, free: 5.422 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.1001, allocations: 75.84 kB / 491.3 MB, free: 5.348 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1002, allocations: 40.2 kB / 491.4 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.259e-05/0.1003, allocations: 31.8 kB / 491.4 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.383e-05/0.1003, allocations: 39.77 kB / 491.5 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.1004, allocations: 8 kB / 491.5 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/0.1004, allocations: 4 kB / 491.5 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.446e-05/0.1004, allocations: 19.88 kB / 491.5 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.616e-05/0.1005, allocations: 39.8 kB / 491.5 MB, free: 5.168 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.1006, allocations: 75.66 kB / 491.6 MB, free: 5.094 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1007, allocations: 4 kB / 491.6 MB, free: 5.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1007, allocations: 3.938 kB / 491.6 MB, free: 5.086 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.1007, allocations: 0 / 491.6 MB, free: 5.086 MB / 366.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.0004988/0.1012, allocations: 387.1 kB / 492 MB, free: 4.656 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1012, allocations: 15.97 kB / 492 MB, free: 4.641 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.1013, allocations: 34.75 kB / 492 MB, free: 4.598 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.942e-05/0.1013, allocations: 12.84 kB / 492 MB, free: 4.586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.1015, allocations: 204.2 kB / 492.2 MB, free: 4.348 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1016, allocations: 384 / 492.2 MB, free: 4.348 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.1016, allocations: 12.33 kB / 492.3 MB, free: 4.336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.1018, allocations: 70.11 kB / 492.3 MB, free: 4.266 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1018, allocations: 3.938 kB / 492.3 MB, free: 4.262 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.1018, allocations: 4 kB / 492.3 MB, free: 4.258 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1018, allocations: 7.938 kB / 492.3 MB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.595e-05/0.1019, allocations: 23.98 kB / 492.4 MB, free: 4.227 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.1024, allocations: 352.6 kB / 492.7 MB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.1027, allocations: 58.56 kB / 492.8 MB, free: 3.766 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.594e-05/0.1028, allocations: 20.91 kB / 492.8 MB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.1028, allocations: 0 / 492.8 MB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.1028, allocations: 34.56 kB / 492.8 MB, free: 3.699 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.001e-06/0.1028, allocations: 0 / 492.8 MB, free: 3.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002371/0.1031, allocations: 81.5 kB / 492.9 MB, free: 3.613 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.1031, allocations: 55.41 kB / 493 MB, free: 3.547 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.1033, allocations: 140 kB / 493.1 MB, free: 3.402 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.1033, allocations: 25.7 kB / 493.1 MB, free: 3.371 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.965e-05/0.1034, allocations: 104.1 kB / 493.2 MB, free: 3.266 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.1034, allocations: 19.84 kB / 493.2 MB, free: 3.246 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.1034, allocations: 17.72 kB / 493.3 MB, free: 3.223 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1036, allocations: 318.8 kB / 493.6 MB, free: 2.902 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-05/0.1036, allocations: 12 kB / 493.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.904e-05/0.1037, allocations: 15.98 kB / 493.6 MB, free: 2.875 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.622e-05/0.1038, allocations: 32.86 kB / 493.6 MB, free: 2.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1038, allocations: 0 / 493.6 MB, free: 2.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001401/0.1039, allocations: 77.58 kB / 493.7 MB, free: 2.758 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.104, allocations: 12 kB / 493.7 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.104, allocations: 192 / 493.7 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.104, allocations: 0 / 493.7 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.066e-05/0.1041, allocations: 19.92 kB / 493.7 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1041, allocations: 3.938 kB / 493.7 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.252e-05/0.1041, allocations: 3.953 kB / 493.7 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.1041, allocations: 4 kB / 493.7 MB, free: 2.715 MB / 366.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 9.287e-05/0.1042, allocations: 118.6 kB / 493.9 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.1043, allocations: 7.953 kB / 493.9 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.441e-05/0.1043, allocations: 16.23 kB / 493.9 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1043, allocations: 0 / 493.9 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1043, allocations: 7.938 kB / 493.9 MB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1043, allocations: 0 / 493.9 MB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.1046, allocations: 189.6 kB / 494.1 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1046, allocations: 0 / 494.1 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.162e-05/0.1047, allocations: 11.94 kB / 494.1 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1047, allocations: 0 / 494.1 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.1047, allocations: 4 kB / 494.1 MB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1047, allocations: 0 / 494.1 MB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1047, allocations: 3.938 kB / 494.1 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.1049, allocations: 183.7 kB / 494.3 MB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.184e-05/0.105, allocations: 81.06 kB / 494.4 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.105, allocations: 3.984 kB / 494.4 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.796e-05/0.1051, allocations: 4.031 kB / 494.4 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.1051, allocations: 3.938 kB / 494.4 MB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.1051, allocations: 4 kB / 494.4 MB, free: 1.988 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.1053, allocations: 115.3 kB / 494.5 MB, free: 1.875 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1053, allocations: 0 / 494.5 MB, free: 1.875 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.1055, allocations: 11.94 kB / 494.5 MB, free: 1.863 MB / 366.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.0005262/0.106, allocations: 0.7085 MB / 495.2 MB, free: 1.129 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001364/0.1062, allocations: 36.05 kB / 495.2 MB, free: 1.094 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1062, allocations: 0 / 495.2 MB, free: 1.094 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.498e-05/0.1063, allocations: 15.94 kB / 495.3 MB, free: 1.078 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.1066, allocations: 25.75 kB / 495.3 MB, free: 1.055 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.1082, allocations: 1.499 MB / 496.8 MB, free: 15.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.1086, allocations: 0.7039 MB / 497.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.501e-05/0.1086, allocations: 15.98 kB / 497.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.28e-05/0.1087, allocations: 23.44 kB / 497.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1087, allocations: 0 / 497.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.284/0.3926, allocations: 2.084 MB / 499.6 MB, free: 12.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.914/8.306, allocations: 6.328 kB / 499.6 MB, free: 12.68 MB / 382.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/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)