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.001071/0.001071, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.00138/0.00138, allocations: 172.7 kB / 15.95 MB, free: 208 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.332/1.332, allocations: 223.3 MB / 240 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2113/0.2113, allocations: 22.36 MB / 313.4 MB, free: 13.16 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002998/0.0003, allocations: 8 kB / 380 MB, free: 12.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2852, allocations: 55.98 MB / 436 MB, free: 38.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.001495/0.2868, allocations: 1.384 MB / 437.4 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007461/0.2875, allocations: 0.548 MB / 437.9 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.827e-05/0.2876, allocations: 2.719 kB / 437.9 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.2879, allocations: 44.64 kB / 438 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.288, allocations: 36.83 kB / 438 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.2883, allocations: 77.67 kB / 438.1 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.2885, allocations: 234.6 kB / 438.3 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.2886, allocations: 33.56 kB / 438.4 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.2887, allocations: 101.6 kB / 438.5 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.2889, allocations: 116.1 kB / 438.6 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.2889, allocations: 8.75 kB / 438.6 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.584e-05/0.289, allocations: 9.875 kB / 438.6 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.815e-05/0.2891, allocations: 59.88 kB / 438.6 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.385e-05/0.2891, allocations: 54.61 kB / 438.7 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.2892, allocations: 165.9 kB / 438.9 MB, free: 36.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2893, allocations: 6.906 kB / 438.9 MB, free: 36.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2893, allocations: 0 / 438.9 MB, free: 36.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.2893, allocations: 0 / 438.9 MB, free: 36.54 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.00102/0.2903, allocations: 0.5509 MB / 439.4 MB, free: 36.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.2903, allocations: 7.75 kB / 439.4 MB, free: 36.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.2904, allocations: 40.89 kB / 439.5 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.2904, allocations: 24.12 kB / 439.5 MB, free: 36.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004977/0.2909, allocations: 323.8 kB / 439.8 MB, free: 35.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.291, allocations: 10.47 kB / 439.8 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.291, allocations: 10.06 kB / 439.8 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.2912, allocations: 146.3 kB / 440 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.2912, allocations: 3.938 kB / 440 MB, free: 35.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.2913, allocations: 4 kB / 440 MB, free: 35.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2913, allocations: 2.656 kB / 440 MB, free: 35.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.2915, allocations: 131 kB / 440.1 MB, free: 35.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007521/0.2922, allocations: 0.5785 MB / 440.7 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.2925, allocations: 158.1 kB / 440.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.2926, allocations: 76.28 kB / 440.9 MB, free: 35.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.2926, allocations: 2.594 kB / 440.9 MB, free: 35.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.2927, allocations: 37.84 kB / 441 MB, free: 35.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.2927, allocations: 0 / 441 MB, free: 35.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004188/0.2931, allocations: 260.1 kB / 441.2 MB, free: 35.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/0.2931, allocations: 57.47 kB / 441.3 MB, free: 34.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.2936, allocations: 289.7 kB / 441.5 MB, free: 34.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.2936, allocations: 29.7 kB / 441.6 MB, free: 34.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.2937, allocations: 135 kB / 441.7 MB, free: 34.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.2937, allocations: 48.38 kB / 441.8 MB, free: 34.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.158e-05/0.2937, allocations: 6.75 kB / 441.8 MB, free: 34.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.529e-05/0.2938, allocations: 335.2 kB / 442.1 MB, free: 34.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.2939, allocations: 75.42 kB / 442.2 MB, free: 34.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.294, allocations: 76.3 kB / 442.2 MB, free: 34.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.2941, allocations: 85.83 kB / 442.3 MB, free: 34.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.2941, allocations: 2.875 kB / 442.3 MB, free: 34.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002777/0.2944, allocations: 220.9 kB / 442.5 MB, free: 34.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.2944, allocations: 10.94 kB / 442.6 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.2945, allocations: 0 / 442.6 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.2945, allocations: 3.031 kB / 442.6 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.2948, allocations: 52.64 kB / 442.6 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.2948, allocations: 3.938 kB / 442.6 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.295, allocations: 28.67 kB / 442.6 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.295, allocations: 6.875 kB / 442.6 MB, free: 34.06 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 (17): * Single equations (assignments): 17 * 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 8.553e-05/0.2951, allocations: 140.4 kB / 442.8 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/0.2952, allocations: 27.47 kB / 442.8 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.093e-05/0.2952, allocations: 25.91 kB / 442.8 MB, free: 33.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2952, allocations: 0 / 442.8 MB, free: 33.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2952, allocations: 3.984 kB / 442.8 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.2953, allocations: 3.469 kB / 442.8 MB, free: 33.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.2955, allocations: 314.4 kB / 443.1 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2955, allocations: 0 / 443.1 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.2957, allocations: 34.67 kB / 443.2 MB, free: 33.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2957, allocations: 0 / 443.2 MB, free: 33.63 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.2957, allocations: 6.625 kB / 443.2 MB, free: 33.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2957, allocations: 0 / 443.2 MB, free: 33.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2957, allocations: 2.656 kB / 443.2 MB, free: 33.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/0.2961, allocations: 387.5 kB / 443.6 MB, free: 33.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.694e-05/0.2962, allocations: 101 kB / 443.7 MB, free: 33.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.2962, allocations: 0 / 443.7 MB, free: 33.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.2965, allocations: 42.11 kB / 443.7 MB, free: 33.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.2965, allocations: 8.297 kB / 443.7 MB, free: 33.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.2965, allocations: 2.906 kB / 443.7 MB, free: 33.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003861/0.2969, allocations: 234.5 kB / 443.9 MB, free: 33.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2969, allocations: 0 / 443.9 MB, free: 33.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000253/0.2972, allocations: 37.16 kB / 444 MB, free: 33.15 MB / 350.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 (13): * Single equations (assignments): 13 * 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.0005679/0.2978, allocations: 0.9253 MB / 444.9 MB, free: 32.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002605/0.298, allocations: 161 kB / 445.1 MB, free: 32.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2981, allocations: 4 kB / 445.1 MB, free: 32.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.2982, allocations: 78.47 kB / 445.1 MB, free: 32.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.2985, allocations: 36.86 kB / 445.2 MB, free: 32.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.3011, allocations: 1.557 MB / 446.7 MB, free: 31.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.3013, allocations: 0.74 MB / 447.5 MB, free: 30.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.3014, allocations: 46.38 kB / 447.5 MB, free: 30.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.3015, allocations: 59.09 kB / 447.6 MB, free: 30.75 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3015, allocations: 0 / 447.6 MB, free: 30.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/0.3162, allocations: 3.98 MB / 451.6 MB, free: 30.46 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001277/0.3164, allocations: 185.1 kB / 451.7 MB, free: 30.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/2.074, allocations: 0 / 451.7 MB, free: 30.21 MB / 350.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/linux/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) Environment - environmentSimulation: