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.006043/0.006043, allocations: 100.1 kB / 15.73 MB, free: 6.031 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.001184/0.001184, allocations: 190.9 kB / 16.67 MB, free: 5.969 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2127/0.2127, allocations: 22.36 MB / 312.9 MB, free: 12.44 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 62.72 kB / 434.5 MB, free: 35.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08849/0.08968, allocations: 54.96 MB / 489.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.003194/0.09292, allocations: 1.714 MB / 491.1 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.09411, allocations: 0.5806 MB / 491.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.09431, allocations: 0 / 491.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003861/0.09474, allocations: 43.7 kB / 491.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002368/0.095, allocations: 59.69 kB / 491.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.09534, allocations: 99.83 kB / 491.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.09564, allocations: 291.5 kB / 492.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.09578, allocations: 41.55 kB / 492.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.09592, allocations: 103.7 kB / 492.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.09611, allocations: 139.5 kB / 492.5 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.774e-05/0.09616, allocations: 20 kB / 492.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.87e-05/0.09619, allocations: 24 kB / 492.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.327e-05/0.09628, allocations: 75.8 kB / 492.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.085e-05/0.09636, allocations: 91.45 kB / 492.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.09653, allocations: 215.3 kB / 492.9 MB, free: 344 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.09654, allocations: 0 / 492.9 MB, free: 344 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09655, allocations: 0 / 492.9 MB, free: 344 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.09656, allocations: 0 / 492.9 MB, free: 344 kB / 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.001422/0.09799, allocations: 0.5775 MB / 493.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.09805, allocations: 11.97 kB / 493.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.952e-05/0.09812, allocations: 50.73 kB / 493.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.462e-05/0.0982, allocations: 24.69 kB / 493.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006639/0.09887, allocations: 328.4 kB / 493.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.0989, allocations: 8.562 kB / 493.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/0.09894, allocations: 12.12 kB / 493.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.0992, allocations: 142.7 kB / 494 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.09922, allocations: 3.938 kB / 494 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.09924, allocations: 4 kB / 494 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.09926, allocations: 4 kB / 494.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.09949, allocations: 127.8 kB / 494.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009069/0.1004, allocations: 0.563 MB / 494.7 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.1007, allocations: 154.4 kB / 494.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.1008, allocations: 72.83 kB / 495 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.1008, allocations: 11.92 kB / 495 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.1009, allocations: 30.56 kB / 495 MB, free: 14.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.1009, allocations: 4 kB / 495 MB, free: 14.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005103/0.1014, allocations: 261.5 kB / 495.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.1014, allocations: 51.41 kB / 495.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005497/0.102, allocations: 291.1 kB / 495.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.102, allocations: 25.7 kB / 495.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.937e-05/0.1021, allocations: 139.9 kB / 495.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.383e-05/0.1022, allocations: 51.3 kB / 495.8 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/0.1022, allocations: 29.7 kB / 495.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1023, allocations: 334.8 kB / 496.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.1025, allocations: 71.95 kB / 496.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.1026, allocations: 71.95 kB / 496.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.1028, allocations: 171 kB / 496.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1028, allocations: 0 / 496.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003164/0.1032, allocations: 221.4 kB / 496.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1032, allocations: 8 kB / 496.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1032, allocations: 4 kB / 496.7 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1032, allocations: 3.938 kB / 496.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000387/0.1036, allocations: 47.97 kB / 496.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.994e-06/0.1036, allocations: 0 / 496.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.1039, allocations: 35.86 kB / 496.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.1039, allocations: 11.92 kB / 496.8 MB, free: 12.2 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 (16): * Single equations (assignments): 16 * 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 0.0001153/0.104, allocations: 150.5 kB / 496.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.1041, allocations: 15.81 kB / 497 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.21e-05/0.1041, allocations: 25.39 kB / 497 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1042, allocations: 7.984 kB / 497 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1042, allocations: 0 / 497 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1042, allocations: 0 / 497 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.1045, allocations: 309.3 kB / 497.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1045, allocations: 4 kB / 497.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.1047, allocations: 19.98 kB / 497.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1047, allocations: 4 kB / 497.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.1048, allocations: 11.98 kB / 497.3 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1048, allocations: 3.938 kB / 497.3 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1048, allocations: 0 / 497.3 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005245/0.1053, allocations: 375.1 kB / 497.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.213e-05/0.1054, allocations: 100.8 kB / 497.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.688e-05/0.1055, allocations: 8.031 kB / 497.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.1057, allocations: 35.95 kB / 497.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.1058, allocations: 4 kB / 497.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.1058, allocations: 7.984 kB / 497.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004706/0.1063, allocations: 240.4 kB / 498.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1063, allocations: 0 / 498.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.1066, allocations: 35.94 kB / 498.1 MB, free: 10.77 MB / 366.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 (12): * Single equations (assignments): 12 * 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.0007958/0.1074, allocations: 0.8995 MB / 499 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003289/0.1077, allocations: 170.1 kB / 499.2 MB, free: 9.684 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1077, allocations: 8 kB / 499.2 MB, free: 9.676 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.1079, allocations: 75.91 kB / 499.3 MB, free: 9.602 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.1082, allocations: 31.53 kB / 499.3 MB, free: 9.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003941/0.1122, allocations: 2.603 MB / 0.4901 GB, free: 6.891 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.1126, allocations: 0.7475 MB / 0.4909 GB, free: 6.117 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001153/0.1127, allocations: 41.52 kB / 0.4909 GB, free: 6.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.1128, allocations: 59.36 kB / 0.491 GB, free: 6.02 MB / 366.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1129, allocations: 0 / 0.491 GB, free: 6.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.1345, allocations: 4.367 MB / 0.4952 GB, free: 1.723 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.508/7.643, allocations: 10.22 kB / 0.4952 GB, free: 1.715 MB / 366.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)